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-07-05 14:43:35 +02:00
parent 16d53dfcf6
commit 4160692646
8 changed files with 557 additions and 567 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "14.23";
rev = "refs/tags/REL_14_23";
hash = "sha256-fjoboaUhrHFDqusmIXzSS5ZnIpSRHO9+qcqvkchl2dM=";
+1 -1
View File
@@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "15.18";
rev = "refs/tags/REL_15_18";
hash = "sha256-tw1zzgLXx7Jr4bi8rMKRmTJzOSQFGvrP2nHr9FcVrjs=";
+1 -1
View File
@@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "16.14";
rev = "refs/tags/REL_16_14";
hash = "sha256-g2+OdB2dGIKBSFJ24Z3Yy7oRAFywNMSVDdWfnsaeJJQ=";
+1 -1
View File
@@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "17.10";
rev = "refs/tags/REL_17_10";
hash = "sha256-3ZAqlT3R8ywhNH13oqz2VUbSwpOJ2JaICbxZ29awaMw=";
+1 -1
View File
@@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "18.4";
rev = "refs/tags/REL_18_4";
hash = "sha256-Ac/Dqcj8vjcW3my5vsnKaMiQqTq/HPtUzckJ3SMyrfA=";
+1 -1
View File
@@ -1,4 +1,4 @@
import ./generic.nix {
{
version = "19beta1";
rev = "refs/tags/REL_19_BETA1";
hash = "sha256-thvbttX8wwGLf5tMJRHl86Xv8OgINzahoqB/AzAdtMI=";
+1 -1
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