forked from mirrors/nixpkgs
stdenv: Prepend SHELL=... to makeFlags
If it's appended, the user cannot override SHELL.
This commit is contained in:
parent
ffd6557dc6
commit
10ab227126
|
@ -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} \
|
||||
|
|
Loading…
Reference in a new issue