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 return
fi fi
# see https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409 # See https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
makeFlags="${makeFlags} SHELL=${SHELL}" makeFlags="SHELL=$SHELL $makeFlags"
echo "make flags: $makeFlags ${makeFlagsArray[@]} $buildFlags ${buildFlagsArray[@]}" echo "make flags: $makeFlags ${makeFlagsArray[@]} $buildFlags ${buildFlagsArray[@]}"
make ${makefile:+-f $makefile} \ make ${makefile:+-f $makefile} \