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