postgresql: flatten generic.nix

Removes all the indentation in generic.nix, which is possible because
we're not calling the generic function recursively anymore anyway.
This commit is contained in:
Wolfgang Walther 2026-04-24 13:19:28 +02:00
commit 4160692646
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1
8 changed files with 587 additions and 597 deletions

View file

@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "14.23";
rev = "refs/tags/REL_14_23";
hash = "sha256-fjoboaUhrHFDqusmIXzSS5ZnIpSRHO9+qcqvkchl2dM=";

View file

@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "15.18";
rev = "refs/tags/REL_15_18";
hash = "sha256-tw1zzgLXx7Jr4bi8rMKRmTJzOSQFGvrP2nHr9FcVrjs=";

View file

@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "16.14";
rev = "refs/tags/REL_16_14";
hash = "sha256-g2+OdB2dGIKBSFJ24Z3Yy7oRAFywNMSVDdWfnsaeJJQ=";

View file

@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "17.10";
rev = "refs/tags/REL_17_10";
hash = "sha256-3ZAqlT3R8ywhNH13oqz2VUbSwpOJ2JaICbxZ29awaMw=";

View file

@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "18.4";
rev = "refs/tags/REL_18_4";
hash = "sha256-Ac/Dqcj8vjcW3my5vsnKaMiQqTq/HPtUzckJ3SMyrfA=";

View file

@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "19beta1";
rev = "refs/tags/REL_19_BETA1";
hash = "sha256-thvbttX8wwGLf5tMJRHl86Xv8OgINzahoqB/AzAdtMI=";

View file

@ -23,7 +23,7 @@ let
version: path:
let
attrName = if jitSupport then "${version}_jit" else version;
postgresql = import path { inherit self; };
postgresql = self.callPackage ./generic.nix (import path // { inherit self; });
attrValue = if jitSupport then postgresql.withJIT else postgresql;
in
self.lib.nameValuePair attrName attrValue

File diff suppressed because it is too large Load diff