2006-08-17 02:54:32 +02:00
|
|
|
# the other stdenv could change the SHELL variable,
|
|
|
|
# so we have to remember its value.
|
|
|
|
origShell=$SHELL
|
|
|
|
origGcc=$GCC
|
|
|
|
|
2006-08-15 23:25:14 +02:00
|
|
|
source $STDENV/setup
|
|
|
|
|
|
|
|
mkdir $OUT
|
|
|
|
|
2006-08-17 02:54:32 +02:00
|
|
|
SHELL=$origShell
|
|
|
|
GCC=$origGcc
|
|
|
|
|
2006-12-31 20:52:41 +01:00
|
|
|
export NIX_BUILD_TOP=$(pwd)
|
|
|
|
|
2006-08-15 23:25:14 +02:00
|
|
|
substitute "$SETUP" "$OUT/setup" \
|
|
|
|
--subst-var INITIALPATH \
|
|
|
|
--subst-var GCC \
|
|
|
|
--subst-var SHELL
|