From 7fedb1baa61ae652f1532ccbd7a73a16831b61f5 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Sun, 21 Sep 2014 07:04:01 +0100 Subject: [PATCH] Try fixing #4084 --- nixos/modules/services/audio/mpd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/audio/mpd.nix b/nixos/modules/services/audio/mpd.nix index 47b2bd1d4dd8..e6b525c4b1ba 100644 --- a/nixos/modules/services/audio/mpd.nix +++ b/nixos/modules/services/audio/mpd.nix @@ -19,7 +19,7 @@ let ${if cfg.network.host != "any" then "bind_to_address ${cfg.network.host}" else ""} ${if cfg.network.port != 6600 then - "port ${cfg.network.port.toString()}" else ""} + "port ${toString cfg.network.port}" else ""} ${cfg.extraConfig} '';