From 3f4b14d7937509a431ca7fa61f4b21b3b53fd6f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 27 Dec 2013 21:03:16 +0100 Subject: [PATCH] stdenv/setup.sh: add SHELL to makeFlags (close #1354) --- pkgs/stdenv/generic/setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 84d499696c92..96168da77537 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -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=()