* Hack hack hack.
svn path=/nixpkgs/branches/stdenv-updates/; revision=10788
This commit is contained in:
parent
10f7a2614a
commit
96aa40524e
@ -3,6 +3,10 @@ p2=$param2
|
|||||||
p3=$param3
|
p3=$param3
|
||||||
p4=$param4
|
p4=$param4
|
||||||
p5=$param5
|
p5=$param5
|
||||||
|
_preHook="$preHook"
|
||||||
|
_postHook="$postHook"
|
||||||
|
preHook=
|
||||||
|
postHook=
|
||||||
|
|
||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
|
|
||||||
@ -11,8 +15,8 @@ mkdir $out
|
|||||||
# Can't use substitute() here, because replace may not have been
|
# Can't use substitute() here, because replace may not have been
|
||||||
# built yet (in the bootstrap).
|
# built yet (in the bootstrap).
|
||||||
sed \
|
sed \
|
||||||
-e "s^@preHook@^$preHook^g" \
|
-e "s^@preHook@^$_preHook^g" \
|
||||||
-e "s^@postHook@^$postHook^g" \
|
-e "s^@postHook@^$_postHook^g" \
|
||||||
-e "s^@initialPath@^$initialPath^g" \
|
-e "s^@initialPath@^$initialPath^g" \
|
||||||
-e "s^@gcc@^$gcc^g" \
|
-e "s^@gcc@^$gcc^g" \
|
||||||
-e "s^@shell@^$shell^g" \
|
-e "s^@shell@^$shell^g" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user