2 for i
in $initialPath; do
3 if [ "$i" = / ]; then i
=; fi
4 PATH
=$PATH${PATH:+:}$i/bin
10 echo "export SHELL=$shell"
11 echo "initialPath=\"$initialPath\""
12 echo "defaultNativeBuildInputs=\"$defaultNativeBuildInputs\""
13 echo "defaultBuildInputs=\"$defaultBuildInputs\""
18 # Allow the user to install stdenv using nix-env and get the packages
20 mkdir
$out/nix-support
21 if [ "$propagatedUserEnvPkgs" ]; then
22 printf '%s ' $propagatedUserEnvPkgs > $out/nix-support
/propagated-user-env-packages