1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/stdenv/mingw/builder.sh
Eelco Dolstra 75b6eec2d5 * Second attempt.
svn path=/nixpkgs/trunk/; revision=7521
2006-12-31 19:52:41 +00:00

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