Change argument --port to --listen in nix-serve.nix

This commit is contained in:
Robbin C 2015-11-13 21:25:50 +08:00
parent c14eca68a4
commit c75d1e761a

View File

@ -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";
};