stdenv/setup.sh: add SHELL to makeFlags (close #1354)

This commit is contained in:
Vladimír Čunát 2013-12-27 21:03:16 +01:00
parent 34a7256820
commit 3f4b14d793

View File

@ -109,6 +109,8 @@ runHook preHook
# Check that the pre-hook initialised SHELL.
if [ -z "$SHELL" ]; then echo "SHELL not set"; exit 1; fi
# see https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
makeFlags="${makeFlags} SHELL=${SHELL}"
# Hack: run gcc's setup hook.
envHooks=()