lol
at 16.09-beta 18 lines 527 B view raw
1export PATH= 2for i in $initialPath; do 3 if [ "$i" = / ]; then i=; fi 4 PATH=$PATH${PATH:+:}$i/bin 5done 6 7mkdir $out 8 9echo "export SHELL=$shell" > $out/setup 10echo "initialPath=\"$initialPath\"" >> $out/setup 11echo "defaultNativeBuildInputs=\"$defaultNativeBuildInputs\"" >> $out/setup 12echo "$preHook" >> $out/setup 13cat "$setup" >> $out/setup 14 15# Allow the user to install stdenv using nix-env and get the packages 16# in stdenv. 17mkdir $out/nix-support 18echo $propagatedUserEnvPkgs > $out/nix-support/propagated-user-env-packages