cross: fix emulateBuilder to use build bash in the vmRunCommand

This commit is contained in:
Colin 2023-08-05 09:40:36 +00:00
parent 5596250d5b
commit 89bb784f3d
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ let
# so hack its components into something which *does* handle cross compilation
lib.overrideDerivation binfmtDeriv ({ builder, args, ... }: {
builder = "${final.buildPackages.bash}/bin/sh";
args = ["-e" (final.vmTools.vmRunCommand qemuCommandLinux)];
args = ["-e" (final.buildPackages.vmTools.vmRunCommand qemuCommandLinux)];
# orig{Builder,Args} gets used by the vmRunCommand script:
origBuilder = builder;
origArgs = args;