mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
75b6eec2d5
svn path=/nixpkgs/trunk/; revision=7521
19 lines
322 B
Bash
Executable File
19 lines
322 B
Bash
Executable File
# the other stdenv could change the SHELL variable,
|
|
# so we have to remember its value.
|
|
origShell=$SHELL
|
|
origGcc=$GCC
|
|
|
|
source $STDENV/setup
|
|
|
|
mkdir $OUT
|
|
|
|
SHELL=$origShell
|
|
GCC=$origGcc
|
|
|
|
export NIX_BUILD_TOP=$(pwd)
|
|
|
|
substitute "$SETUP" "$OUT/setup" \
|
|
--subst-var INITIALPATH \
|
|
--subst-var GCC \
|
|
--subst-var SHELL
|