3
0
Fork 0
forked from mirrors/nixpkgs

Honor propagatedUserEnvPackages in setup.sh

svn path=/nixpkgs/branches/stdenv-updates/; revision=32369
This commit is contained in:
Shea Levy 2012-02-17 21:37:15 +00:00
parent a5d55a9514
commit 483f094acb

View file

@ -753,6 +753,11 @@ fixupPhase() {
echo "$propagatedBuildNativeInputs" > "$out/nix-support/propagated-build-native-inputs"
fi
if [ -n "$propagatedUserEnvPkgs" ]; then
mkdir -p "$out/nix-support"
echo "$propagatedUserEnvPkgs" > "$out/nix-support/propagated-user-env-packages"
fi
if [ -n "$setupHook" ]; then
mkdir -p "$out/nix-support"
substituteAll "$setupHook" "$out/nix-support/setup-hook"