about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-05-12 14:26:17 +0100
committerGitHub <noreply@github.com>2020-05-12 14:26:17 +0100
commitc643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c (patch)
tree0aca78f27e64fab22e82a784c96d0267aa51fcf2
parent0c9b897241f20b38a35fb84e70b6a93df80d7175 (diff)
parentfd41795f58087a8ca1f7794b812c0255b35f461b (diff)
downloadnixlib-c643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c.tar
nixlib-c643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c.tar.gz
nixlib-c643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c.tar.bz2
nixlib-c643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c.tar.lz
nixlib-c643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c.tar.xz
nixlib-c643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c.tar.zst
nixlib-c643f6e6f7f4b2ac5fcf482626bc3ee2d4c6b55c.zip
Merge pull request #87664 from betaboon/nixos-pixiecore-fix-escaping
-rw-r--r--nixos/modules/services/networking/pixiecore.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/pixiecore.nix b/nixos/modules/services/networking/pixiecore.nix
index 0e32f182e2a1..85aa40784af8 100644
--- a/nixos/modules/services/networking/pixiecore.nix
+++ b/nixos/modules/services/networking/pixiecore.nix
@@ -115,7 +115,7 @@ in
               if cfg.mode == "boot"
               then [ "boot" cfg.kernel ]
                    ++ optional (cfg.initrd != "") cfg.initrd
-                   ++ optional (cfg.cmdLine != "") "--cmdline=${lib.escapeShellArg cfg.cmdLine}"
+                   ++ optionals (cfg.cmdLine != "") [ "--cmdline" cfg.cmdLine ]
               else [ "api" cfg.apiServer ];
           in
             ''