diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-01-19 15:29:20 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-01-19 15:29:20 +0000 |
commit | 0d71e75222949f4e4a5ea8af8ac4666c3bb80579 (patch) | |
tree | c7f436fdff1257859f271ce60e99be20a1159fac /pkgs/stdenv/generic/builder.sh | |
parent | 26affd7238ad8ae40ba0b02975a785546c51af8e (diff) |
* Get rid of params1-5, they're obsolete.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31700
Diffstat (limited to 'pkgs/stdenv/generic/builder.sh')
-rw-r--r-- | pkgs/stdenv/generic/builder.sh | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/pkgs/stdenv/generic/builder.sh b/pkgs/stdenv/generic/builder.sh index 01e86ce399869..82620f96ef5ce 100644 --- a/pkgs/stdenv/generic/builder.sh +++ b/pkgs/stdenv/generic/builder.sh @@ -1,32 +1,17 @@ -p1=$param1 -p2=$param2 -p3=$param3 -p4=$param4 -p5=$param5 -_preHook="$preHook" -_postHook="$postHook" -preHook= -postHook= - export PATH= for i in $initialPath; do - if test "$i" = /; then i=; fi + if [ "$i" = / ]; then i=; fi PATH=$PATH${PATH:+:}$i/bin done mkdir $out sed \ - -e "s^@preHook@^$_preHook^g" \ - -e "s^@postHook@^$_postHook^g" \ + -e "s^@preHook@^$preHook^g" \ + -e "s^@postHook@^$postHook^g" \ -e "s^@initialPath@^$initialPath^g" \ -e "s^@gcc@^$gcc^g" \ -e "s^@shell@^$shell^g" \ - -e "s^@param1@^$p1^g" \ - -e "s^@param2@^$p2^g" \ - -e "s^@param3@^$p3^g" \ - -e "s^@param4@^$p4^g" \ - -e "s^@param5@^$p5^g" \ < "$setup" > "$out/setup" # Allow the user to install stdenv using nix-env and get the packages |