diff options
author | Steve Purcell <steve@sanityinc.com> | 2023-09-16 11:03:10 +0200 |
---|---|---|
committer | Steve Purcell <steve@sanityinc.com> | 2023-09-16 18:19:06 +0200 |
commit | ae5b96f3ab6aabb60809ab78c2c99f8dd51ee678 (patch) | |
tree | 10884c3e15aa4f7707992f727c93a33895765755 /pkgs/servers/sql/postgresql/default.nix | |
parent | 7874b2433ebb10c1493632cd3e61b36eb80c8ab6 (diff) |
postgresql_16: init at 16.0
Diffstat (limited to 'pkgs/servers/sql/postgresql/default.nix')
-rw-r--r-- | pkgs/servers/sql/postgresql/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix index 0074c6fd6f0a..a94712556a71 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -98,7 +98,8 @@ let ++ lib.optionals jitSupport [ "--with-llvm" ]; patches = [ - ./patches/disable-resolve_symlinks.patch + (if atLeast "16" then ./patches/disable-normalize_exec_path.patch + else ./patches/disable-resolve_symlinks.patch) ./patches/less-is-more.patch ./patches/hardcode-pgxs-path.patch ./patches/specify_pkglibdir_at_runtime.patch @@ -357,6 +358,15 @@ let thisAttr = "postgresql_15"; inherit self; }; + + postgresql_16 = self.callPackage generic { + version = "16.0"; + psqlSchema = "16"; + hash = "sha256-356CPrIjMEROHUjlLMZRNaZSpv2zzjJePwhUkzn1G5k="; + this = self.postgresql_16; + thisAttr = "postgresql_16"; + inherit self; + }; }; in self: |