From 9a76a33e356c12f3bcc0720a19ef1fa6157063dd Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Mon, 28 May 2018 13:10:14 +0200 Subject: [PATCH] dotnetPackages.Boogie: use a recent NUnit --- pkgs/top-level/dotnet-packages.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/dotnet-packages.nix b/pkgs/top-level/dotnet-packages.nix index ca4469e9e998..ed34f7984184 100644 --- a/pkgs/top-level/dotnet-packages.nix +++ b/pkgs/top-level/dotnet-packages.nix @@ -309,7 +309,17 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; { sha256 = "1mjnf96hbn9abgzyvmrfxlhnm213290xb9wca7rnnl12i4fa4ahl"; }; - buildInputs = [ dotnetPackages.NUnitRunners ]; + # emulate `nuget restore Source/Boogie.sln` + # which installs in $srcdir/Source/packages + preBuild = '' + mkdir -p Source/packages/NUnit.2.6.3 + ln -sn ${dotnetPackages.NUnit}/lib/dotnet/NUnit Source/packages/NUnit.2.6.3/lib + ''; + + buildInputs = [ + dotnetPackages.NUnit + dotnetPackages.NUnitRunners + ]; xBuildFiles = [ "Source/Boogie.sln" ];