From 0a620163b972e2d06dd81c7491cc9534708724ec Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Mon, 13 Nov 2023 23:48:30 +0100 Subject: nixos/firebird: fix coerce error When `services.firebird.enable` following error is thrown: error: cannot coerce an integer to a string After explicitly cast the port (integer) to string the error disappears. --- nixos/modules/services/databases/firebird.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/databases') diff --git a/nixos/modules/services/databases/firebird.nix b/nixos/modules/services/databases/firebird.nix index 3927c81d953d..6b8c244a7789 100644 --- a/nixos/modules/services/databases/firebird.nix +++ b/nixos/modules/services/databases/firebird.nix @@ -147,7 +147,7 @@ in # ConnectionTimeout = 180 #RemoteServiceName = gds_db - RemoteServicePort = ${cfg.port} + RemoteServicePort = ${toString cfg.port} # randomly choose port for server Event Notification #RemoteAuxPort = 0 -- cgit v1.2.3