mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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.
(cherry picked from commit 5cf857ed82)
This commit is contained in:
committed by
github-actions[bot]
parent
8166a4ae06
commit
26830a86ca
@@ -561,7 +561,7 @@ let
|
||||
psqlSchema = lib.versions.major version;
|
||||
|
||||
withJIT = if jitSupport then this.withPackages (_: [ this.jit ]) else null;
|
||||
withoutJIT = this;
|
||||
withoutJIT = this.withPackages (_: [ ]);
|
||||
|
||||
pkgs =
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user