3
0
Fork 0
forked from mirrors/nixpkgs

stdenv: Prepend SHELL=... to makeFlags

If it's appended, the user cannot override SHELL.
This commit is contained in:
Eelco Dolstra 2014-01-07 17:45:55 +01:00
parent ffd6557dc6
commit 10ab227126

View file

@ -614,8 +614,8 @@ buildPhase() {
return
fi
# see https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
makeFlags="${makeFlags} SHELL=${SHELL}"
# See https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
makeFlags="SHELL=$SHELL $makeFlags"
echo "make flags: $makeFlags ${makeFlagsArray[@]} $buildFlags ${buildFlagsArray[@]}"
make ${makefile:+-f $makefile} \