From a0b09dd7a13cbdede8309cda5751a5c4e3f6382b Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 29 Jun 2026 20:27:31 +0200 Subject: [PATCH] postgresql: refactor attributes There is no need to call the `withoutJIT` passthru explicitly here - the default is without JIT anyway. This allows us to change the passthru to work differently *without* affecting every `postgresql_xx` top-level package. --- pkgs/servers/sql/postgresql/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix index 355ae9bf7149..7fe28ef140fd 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -24,7 +24,7 @@ let let attrName = if jitSupport then "${version}_jit" else version; postgresql = import path { inherit self; }; - attrValue = if jitSupport then postgresql.withJIT else postgresql.withoutJIT; + attrValue = if jitSupport then postgresql.withJIT else postgresql; in self.lib.nameValuePair attrName attrValue ) versions;