From ec95e68a73e1862997f5e23a6c9103378c3ebda2 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Mon, 6 Oct 2025 16:50:17 -0300 Subject: [PATCH] dotnetCorePackages.dotnet_10.vmr: cherry-pick AVX-512 crash fix Fixes: #431811 --- pkgs/development/compilers/dotnet/vmr.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/compilers/dotnet/vmr.nix b/pkgs/development/compilers/dotnet/vmr.nix index d9fea00ac495..ce285bb28665 100644 --- a/pkgs/development/compilers/dotnet/vmr.nix +++ b/pkgs/development/compilers/dotnet/vmr.nix @@ -2,6 +2,7 @@ clangStdenv, lib, fetchurl, + fetchpatch, dotnetCorePackages, jq, curl, @@ -146,6 +147,12 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (lib.versionAtLeast version "10") [ ./bundler-fix-file-size-estimation-when-bundling-symli.patch + (fetchpatch { + url = "https://github.com/dotnet/runtime/commit/118eacc4f40f1ef48b47c0b7ff40ac0b3ae8c28a.patch"; + hash = "sha256-5sRGEpULAgjDjU1LKm7Pcx3Qfbr891CB9apOpYdzPyA="; + stripLen = 1; + extraPrefix = "src/runtime/"; + }) ]; postPatch = ''