From a015aaf1c9e0bcccfa128cb5030952c9940acea2 Mon Sep 17 00:00:00 2001 From: oxalica Date: Wed, 21 Jul 2021 02:30:08 +0800 Subject: [PATCH] dotnetPackages.Nuget: fix runtime error configurePhase breaks the binary and results in `File does not contain a valid CIL image.` --- pkgs/top-level/dotnet-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/dotnet-packages.nix b/pkgs/top-level/dotnet-packages.nix index f13e1f919b5..06d7693006b 100644 --- a/pkgs/top-level/dotnet-packages.nix +++ b/pkgs/top-level/dotnet-packages.nix @@ -296,6 +296,9 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; { sha256 = "07r63xam6icm17pf6amh1qkmna13nxa3ncdan7a3ql307i5isriz"; }; + # configurePhase breaks the binary and results in + # `File does not contain a valid CIL image.` + dontConfigure = true; dontBuild = true; outputFiles = [ "*" ];