1ab4a9324c
be passed to derivations that need to apply patches. * GCC 3.4 is now the default compiler (old GCC renamed to `gcc-3.3'). * The temporary GCCs built during the stdenvLinux bootstrap are now built without C++ support and without profiling. * Remove fixincl in GCC 3.4 to prevent a retained dependency on the previous GCC. * Always set $prefix in setup.sh, even when there is no configure script. svn path=/nixpkgs/trunk/; revision=1444
22 lines
412 B
Bash
22 lines
412 B
Bash
p1=$param1
|
|
p2=$param2
|
|
p3=$param3
|
|
p4=$param4
|
|
p5=$param5
|
|
|
|
. $stdenv/setup
|
|
|
|
mkdir $out || exit 1
|
|
|
|
sed \
|
|
-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 || exit 1
|