From afe9d2211bef4a5470c97cea4d593402eab2cc6d Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sun, 25 Aug 2024 19:07:42 +0200 Subject: [PATCH] outputs/vmroot: use the build runtime shell otherwise, this will use the cross runtime shell, which is wrong! Signed-off-by: Raito Bezarius --- modules/outputs/vmroot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/outputs/vmroot.nix b/modules/outputs/vmroot.nix index 1aa8b5c..ce8693e 100644 --- a/modules/outputs/vmroot.nix +++ b/modules/outputs/vmroot.nix @@ -63,7 +63,7 @@ in ln -s ${kernel.headers} build echo ${cmdline} > commandline cat > run.sh << EOF - #!${pkgs.runtimeShell} + #!${pkgs.pkgsBuildBuild.runtimeShell} ${pkgs.pkgsBuildBuild.run-liminix-vm}/bin/run-liminix-vm --command-line ${cmdline} --arch ${pkgs.stdenv.hostPlatform.qemuArch} --phram-address 0x${phram_address} \$* ${makeBootableImage} ${config.system.outputs.rootfs} EOF chmod +x run.sh