forked from mirrors/nixpkgs
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 a new issue