makeWrapper: use proper shell when cross-compiling

This commit is contained in:
Ben Siraphob 2021-02-10 00:21:18 +07:00
parent e03c068af5
commit e899331972

View File

@ -514,7 +514,7 @@ in
makeInitrd = callPackage ../build-support/kernel/make-initrd.nix; # Args intentionally left out
makeWrapper = makeSetupHook { deps = [ dieHook ]; substitutions = { shell = pkgs.runtimeShell; }; }
makeWrapper = makeSetupHook { deps = [ dieHook ]; substitutions = { shell = targetPackages.runtimeShell; }; }
../build-support/setup-hooks/make-wrapper.sh;
makeModulesClosure = { kernel, firmware, rootModules, allowMissing ? false }: