From 5cf857ed827857ee6ade47a759985fd8dbc83ad7 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 29 Jun 2026 20:30:39 +0200 Subject: [PATCH] postgresql: return wrapper from `withoutJIT` passthru Before this change, we would return: - The postgresql derivation itself from `postgresql.withoutJIT`, - A wrapper without any extensions at all, from `postgresql_jit.withoutJIT`. This changes makes it that every call to `.withJIT` and `.withoutJIT` returns a wrapper and never the base derivation. More consistent and easier to reason about. --- pkgs/servers/sql/postgresql/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/generic.nix b/pkgs/servers/sql/postgresql/generic.nix index 05ad32140cf3..4041a1803cc3 100644 --- a/pkgs/servers/sql/postgresql/generic.nix +++ b/pkgs/servers/sql/postgresql/generic.nix @@ -563,7 +563,7 @@ let psqlSchema = lib.versions.major version; withJIT = if jitSupport then this.withPackages (_: [ this.jit ]) else null; - withoutJIT = this; + withoutJIT = this.withPackages (_: [ ]); pkgs = let