diff --git a/pkgs/development/compilers/dotnet/vmr.nix b/pkgs/development/compilers/dotnet/vmr.nix index 784ede8d2954..0de2c51f5ab8 100644 --- a/pkgs/development/compilers/dotnet/vmr.nix +++ b/pkgs/development/compilers/dotnet/vmr.nix @@ -2,6 +2,7 @@ llvmPackages_20, lib, fetchurl, + fetchpatch, dotnetCorePackages, jq, curl, @@ -148,6 +149,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 = ''