From 8166a4ae06c0ea57f2874a0ee329d503c9376889 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. (cherry picked from commit a0b09dd7a13cbdede8309cda5751a5c4e3f6382b) --- 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 495f8b2625c0..6c5cf66c33ba 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -23,7 +23,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;