Commit e7888232 authored by David McFarland's avatar David McFarland
Browse files

mkNugetDeps: unpack to source/

Unpacking to the build root was a bad idea. stdenv uses dumpVars() to
create a file env-vars containing the entire environment.  This was
being installed in the derivation output, and since it contains lots of
store paths, it was bloating the closure for every nuget package.
parent 04686b6b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -39,8 +39,9 @@ lib.makeOverridable(
          ];

          unpackPhase = ''
            unzip -nq $src
            chmod -R +rw .
            unzip -nqd source $src
            chmod -R +rw source
            cd source
          '';

          prePatch = ''