mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05: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:
parent
8166a4ae06
commit
26830a86ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue