Merge pull request #50244 from tathougies/travis/wrap-correctly
make-wrapper should use runtimeShell, not $SHELL, for cross-compilation
This commit is contained in:
commit
f9a6963d9a
@ -40,7 +40,7 @@ makeWrapper() {
|
|||||||
|
|
||||||
mkdir -p "$(dirname "$wrapper")"
|
mkdir -p "$(dirname "$wrapper")"
|
||||||
|
|
||||||
echo "#! $SHELL -e" > "$wrapper"
|
echo "#! @shell@ -e" > "$wrapper"
|
||||||
|
|
||||||
params=("$@")
|
params=("$@")
|
||||||
for ((n = 2; n < ${#params[*]}; n += 1)); do
|
for ((n = 2; n < ${#params[*]}; n += 1)); do
|
||||||
|
@ -344,7 +344,7 @@ with pkgs;
|
|||||||
inherit contents compressor prepend;
|
inherit contents compressor prepend;
|
||||||
};
|
};
|
||||||
|
|
||||||
makeWrapper = makeSetupHook { deps = [ dieHook ]; }
|
makeWrapper = makeSetupHook { deps = [ dieHook ]; substitutions = { shell = pkgs.runtimeShell; }; }
|
||||||
../build-support/setup-hooks/make-wrapper.sh;
|
../build-support/setup-hooks/make-wrapper.sh;
|
||||||
|
|
||||||
makeModulesClosure = { kernel, firmware, rootModules, allowMissing ? false }:
|
makeModulesClosure = { kernel, firmware, rootModules, allowMissing ? false }:
|
||||||
|
Loading…
Reference in New Issue
Block a user