* Fix stdenv-initial.

svn path=/nixpkgs/trunk/; revision=7510
This commit is contained in:
Eelco Dolstra 2006-12-28 10:54:39 +00:00
parent 036053fcba
commit 0eff9a5236
2 changed files with 3 additions and 5 deletions

View File

@ -1,8 +1,5 @@
export PATH=/usr/bin:/bin
mkdir $out
cat > $out/setup <<EOF
export PATH=/usr/bin:/bin
export SHELL=/bin/sh
EOF
chmod +x $out/setup
sed -e "s^@initialPath@^/usr /^" -e "s^@preHook@^^" -e "s^@postHook@^^" -e "s^@shell@^/bin/sh^" < $stdenvScript > $out/setup

View File

@ -15,6 +15,7 @@ let {
inherit system name;
builder = shell;
args = ["-e" ./builder.sh];
stdenvScript = ../generic/setup.sh;
}
// {