mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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:
parent
04686b6b28
commit
e78882326b
@ -39,8 +39,9 @@ lib.makeOverridable(
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip -nq $src
|
||||
chmod -R +rw .
|
||||
unzip -nqd source $src
|
||||
chmod -R +rw source
|
||||
cd source
|
||||
'';
|
||||
|
||||
prePatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user