liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3f74fad966d5d071e7ae4196a9f800cf1d13b86a
parent ed925588f7277daef1859ce65485f2bf54927312
Author: Daniel Barlow <dan@telent.net>
Date:   Tue,  5 Dec 2023 17:29:37 +0000

don't double-json the command line

Diffstat:
Mmodules/outputs/vmroot.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/outputs/vmroot.nix b/modules/outputs/vmroot.nix @@ -64,7 +64,7 @@ in echo ${cmdline} > commandline cat > run.sh << EOF #!${pkgs.runtimeShell} - ${pkgs.pkgsBuildBuild.run-liminix-vm}/bin/run-liminix-vm --command-line ${builtins.toJSON cmdline} --arch ${pkgs.stdenv.hostPlatform.qemuArch} --phram-address 0x${phram_address} \$* ${makeBootableImage} ${config.system.outputs.rootfs} + ${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 '';