From ba9f907a7482630fb8e7d17b393aceeb151bcc02 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Fri, 30 May 2025 20:18:39 +0200 Subject: [PATCH] nixos/pgbouncer: use `cfg.package` option, instead of global pkgs --- nixos/modules/services/databases/pgbouncer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/databases/pgbouncer.nix b/nixos/modules/services/databases/pgbouncer.nix index 378cbc3f81bb..7aedd0b62085 100644 --- a/nixos/modules/services/databases/pgbouncer.nix +++ b/nixos/modules/services/databases/pgbouncer.nix @@ -420,7 +420,7 @@ in User = cfg.user; Group = cfg.group; ExecStart = utils.escapeSystemdExecArgs [ - (lib.getExe pkgs.pgbouncer) + (lib.getExe cfg.package) "/etc/${configPath}" ]; RuntimeDirectory = "pgbouncer";