From c75d1e761ad94fdd7100fc23eb0555061150aa11 Mon Sep 17 00:00:00 2001 From: Robbin C Date: Fri, 13 Nov 2015 21:25:50 +0800 Subject: [PATCH] Change argument --port to --listen in nix-serve.nix --- nixos/modules/services/networking/nix-serve.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/nix-serve.nix b/nixos/modules/services/networking/nix-serve.nix index 4f8b9357a828..880a1d361dfe 100644 --- a/nixos/modules/services/networking/nix-serve.nix +++ b/nixos/modules/services/networking/nix-serve.nix @@ -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"; };