From 8bf4fe85f10d488fa94a67366793b79526e2a878 Mon Sep 17 00:00:00 2001 From: Rafael GarcĂ­a Gallego Date: Thu, 15 Nov 2018 20:22:20 +0100 Subject: selfoss (service): fix port in service config (#50411) --- nixos/modules/services/web-apps/selfoss.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/web-apps/selfoss.nix b/nixos/modules/services/web-apps/selfoss.nix index 5571f77334cc..7b0ce8a8d03f 100644 --- a/nixos/modules/services/web-apps/selfoss.nix +++ b/nixos/modules/services/web-apps/selfoss.nix @@ -21,8 +21,8 @@ let db_database=${cfg.database.name} db_username=${cfg.database.user} db_password=${cfg.database.password} - db_port=${if (cfg.database.port != null) then cfg.database.port - else default_port} + db_port=${toString (if (cfg.database.port != null) then cfg.database.port + else default_port)} '' } ${cfg.extraConfig} -- cgit 1.4.1