mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
mkDerivation handles propagatedUserEnvPkgs properly now
svn path=/nixpkgs/trunk/; revision=33444
This commit is contained in:
parent
092487c1fb
commit
db28c68df0
@ -43,12 +43,6 @@ let
|
||||
'';
|
||||
|
||||
propagatedUserEnvPkgs = requiredGems;
|
||||
postFixup = ''
|
||||
if [ -n "$propagatedUserEnvPkgs" ]; then
|
||||
mkdir -p "$out/nix-support"
|
||||
echo "$propagatedUserEnvPkgs" > "$out/nix-support/propagated-user-env-packages"
|
||||
fi
|
||||
'';
|
||||
|
||||
};
|
||||
mb = stdenv.lib.maybeAttr;
|
||||
|
Loading…
Reference in New Issue
Block a user