* Fix stdenv-initial.
svn path=/nixpkgs/trunk/; revision=7510
This commit is contained in:
parent
036053fcba
commit
0eff9a5236
@ -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
|
||||
|
@ -15,6 +15,7 @@ let {
|
||||
inherit system name;
|
||||
builder = shell;
|
||||
args = ["-e" ./builder.sh];
|
||||
stdenvScript = ../generic/setup.sh;
|
||||
}
|
||||
|
||||
// {
|
||||
|
Loading…
Reference in New Issue
Block a user