stdenv: Statically include the default build inputs

Otherwise, stdenv won't have a reference to e.g. patchelf on Linux
(because it was passed in by mkDerivation). This causes the installer
tests to fail, because having "stdenv" in the installation CD closure
is not enough to pull in all stdenv packages.

http://hydra.nixos.org/build/16546643
This commit is contained in:
Eelco Dolstra
2014-11-06 12:10:28 +01:00
parent 8e9e4b05f7
commit 1014620bce
3 changed files with 8 additions and 7 deletions
+1
View File
@@ -8,6 +8,7 @@ mkdir $out
echo "export SHELL=$shell" > $out/setup
echo "initialPath=\"$initialPath\"" >> $out/setup
echo "defaultNativeBuildInputs=\"$defaultNativeBuildInputs\"" >> $out/setup
echo "$preHook" >> $out/setup
cat "$setup" >> $out/setup