Skip to content

Commit d535b9b

Browse files
jpruiz84astro
authored andcommitted
runner: fixed cross-compilation
When running in aarch64 a x86 compiled version, the result microvm-run script uses x86 bash runtimeShell. Fixed by removing the buildPackages from runtimeShell. Signed-off-by: Juan Pablo Ruiz <[email protected]>
1 parent 30e577e commit d535b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runner.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let
2323
''-a "microvm@${microvmConfig.hostName}"'';
2424

2525
runScriptBin = pkgs.buildPackages.writeScriptBin "microvm-run" ''
26-
#! ${pkgs.buildPackages.runtimeShell} -e
26+
#! ${pkgs.runtimeShell} -e
2727
2828
${preStart}
2929
${createVolumesScript pkgs.buildPackages microvmConfig.volumes}

0 commit comments

Comments
 (0)