Unverified Commit 57818dff authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nixos/gancio: add missing quotes to cli command, remove erroneous dash

parent 0c501072
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -174,10 +174,10 @@ in
    environment.systemPackages = [
      (pkgs.runCommand "gancio" { } ''
        mkdir -p $out/bin
        echo "#!${pkgs.runtimeShell}
        echo '#!${pkgs.runtimeShell}
        cd /var/lib/gancio/
          exec ${lib.getExe cfg.package} ''${1:---help}
        " > $out/bin/gancio
        exec ${lib.getExe cfg.package} ''${1:--help}
        ' > $out/bin/gancio
        chmod +x $out/bin/gancio
      '')
    ];