mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
* 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
|
||||
p4=$param4
|
||||
p5=$param5
|
||||
_preHook="$preHook"
|
||||
_postHook="$postHook"
|
||||
preHook=
|
||||
postHook=
|
||||
|
||||
source $stdenv/setup
|
||||
|
||||
|
@ -11,8 +15,8 @@ mkdir $out
|
|||
# Can't use substitute() here, because replace may not have been
|
||||
# built yet (in the bootstrap).
|
||||
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" \
|
||||
|
|
Loading…
Reference in a new issue