mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
16d53dfcf6
commit
4160692646
8 changed files with 587 additions and 597 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import ./generic.nix {
|
||||
{
|
||||
version = "14.23";
|
||||
rev = "refs/tags/REL_14_23";
|
||||
hash = "sha256-fjoboaUhrHFDqusmIXzSS5ZnIpSRHO9+qcqvkchl2dM=";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import ./generic.nix {
|
||||
{
|
||||
version = "15.18";
|
||||
rev = "refs/tags/REL_15_18";
|
||||
hash = "sha256-tw1zzgLXx7Jr4bi8rMKRmTJzOSQFGvrP2nHr9FcVrjs=";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import ./generic.nix {
|
||||
{
|
||||
version = "16.14";
|
||||
rev = "refs/tags/REL_16_14";
|
||||
hash = "sha256-g2+OdB2dGIKBSFJ24Z3Yy7oRAFywNMSVDdWfnsaeJJQ=";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import ./generic.nix {
|
||||
{
|
||||
version = "17.10";
|
||||
rev = "refs/tags/REL_17_10";
|
||||
hash = "sha256-3ZAqlT3R8ywhNH13oqz2VUbSwpOJ2JaICbxZ29awaMw=";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import ./generic.nix {
|
||||
{
|
||||
version = "18.4";
|
||||
rev = "refs/tags/REL_18_4";
|
||||
hash = "sha256-Ac/Dqcj8vjcW3my5vsnKaMiQqTq/HPtUzckJ3SMyrfA=";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import ./generic.nix {
|
||||
{
|
||||
version = "19beta1";
|
||||
rev = "refs/tags/REL_19_BETA1";
|
||||
hash = "sha256-thvbttX8wwGLf5tMJRHl86Xv8OgINzahoqB/AzAdtMI=";
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue