summary refs log tree commit diff
path: root/nixos/modules/services/audio
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-09-21 07:04:01 +0100
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-09-21 07:04:01 +0100
commit7fedb1baa61ae652f1532ccbd7a73a16831b61f5 (patch)
tree2dfd43ef259f407ee91c89c2f946e07638eac9ec /nixos/modules/services/audio
parent8ea7e926cc7d6adce4cfaf7408d9bbe273604326 (diff)
downloadnixlib-7fedb1baa61ae652f1532ccbd7a73a16831b61f5.tar
nixlib-7fedb1baa61ae652f1532ccbd7a73a16831b61f5.tar.gz
nixlib-7fedb1baa61ae652f1532ccbd7a73a16831b61f5.tar.bz2
nixlib-7fedb1baa61ae652f1532ccbd7a73a16831b61f5.tar.lz
nixlib-7fedb1baa61ae652f1532ccbd7a73a16831b61f5.tar.xz
nixlib-7fedb1baa61ae652f1532ccbd7a73a16831b61f5.tar.zst
nixlib-7fedb1baa61ae652f1532ccbd7a73a16831b61f5.zip
Try fixing #4084
Diffstat (limited to 'nixos/modules/services/audio')
-rw-r--r--nixos/modules/services/audio/mpd.nix2
1 files changed, 1 insertions, 1 deletions
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}
   '';