3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #11005 from robbinch/fix-nix-serve

Change argument --port to --listen in nix-serve.nix
This commit is contained in:
Rickard Nilsson 2015-11-16 11:43:31 +01:00
commit 3e18ddae49

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