Change argument --port to --listen in nix-serve.nix
This commit is contained in:
parent
c14eca68a4
commit
c75d1e761a
@ -56,7 +56,7 @@ in
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.nix-serve}/bin/nix-serve " +
|
||||
"--port ${cfg.bindAddress}:${toString cfg.port} ${cfg.extraParams}";
|
||||
"--listen ${cfg.bindAddress}:${toString cfg.port} ${cfg.extraParams}";
|
||||
User = "nix-serve";
|
||||
Group = "nogroup";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user