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.
This commit is contained in:
David McFarland 2024-09-03 21:54:18 -03:00
parent 04686b6b28
commit e78882326b

View File

@ -39,8 +39,9 @@ lib.makeOverridable(
];
unpackPhase = ''
unzip -nq $src
chmod -R +rw .
unzip -nqd source $src
chmod -R +rw source
cd source
'';
prePatch = ''