From 3f74fad966d5d071e7ae4196a9f800cf1d13b86a Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 5 Dec 2023 17:29:37 +0000 Subject: [PATCH] don't double-json the command line --- 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 38a0d86..1aa8b5c 100644 --- 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 '';