Commit Graph

25 Commits

Author SHA1 Message Date
Wolfgang Walther
e1573ae30b postgresqlPackages: remove unused inputs
Thanks, deadnix.
2025-05-11 10:44:16 +02:00
Wolfgang Walther
052547291e postgresqlPackages: use finalAttrs pattern where possible 2025-04-12 21:10:55 +02:00
Wolfgang Walther
72b8186ff7 postgresqlPackages: rename buildPostgresqlExtension to postgresqlBuildExtension
This is for consistency with postgresqlTestExtension and
postgresqlTestHook. Everything that is passed via postgresql's
generic.nix "packages scope" now is prefixed with "postgresql".
2025-03-18 18:17:24 +01:00
Wolfgang Walther
f95649327f postgresqlPackages.repmgr: modernize 2025-03-18 18:17:13 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Wolfgang Walther
a7daa5426b postgresqlPackages.repmgr: 5.4.1 -> 5.5.0 2024-11-16 14:03:07 +01:00
Wolfgang Walther
e24121ec20 postgresqlPackages: replace custom installPhase with buildPostgresqlExtension helper 2024-10-29 09:55:20 +01:00
Wolfgang Walther
203af243af postgresql17Packages: mark remaining extensions as broken
Those extensions don't support building with PostgreSQL 17, yet.

To make sure they will show up as build failures after the next package
upgrade, they all have version checks for their own package version
included.
2024-10-27 08:35:47 +01:00
Wolfgang Walther
fa8a147338 postgresqlPackages: remove unused derivation arguments
Those had been replaced by the following a while ago:

  buildInputs = postgresql.buildInputs
2024-09-23 20:05:37 +02:00
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
Wolfgang Walther
f58132cb15 postgresql.pkgs.repmgr: fix build on linux
This failed because libpam, which postgresql is now linked against, was missing as a
build input. In general, this is an indication that this extension needs the same
build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
2024-03-09 09:44:07 +01:00
Mario Rodas
190ddae4a0 postgresql16Packages.repmgr: fix build on darwin 2023-09-22 04:20:00 +00:00
netali
53bbb203e0 postgresql12Packages.repmgr: fix build
Closes: #248935
2023-08-30 07:02:11 -05:00
R. RyanTM
b63179691f postgresql15Packages.repmgr: 5.4.0 -> 5.4.1 (#242894) 2023-07-12 10:30:23 +02:00
jz8132543
ac0e09e17a postgresql15Packages.repmgr: 5.3.2 -> 5.4.0 2023-05-20 12:08:48 +08:00
R. Ryantm
47007b9d20 postgresql11Packages.repmgr: 5.3.1 -> 5.3.2 2022-08-02 00:35:02 +00:00
R. Ryantm
e7597bcb5a postgresql11Packages.repmgr: 5.3.0 -> 5.3.1 2022-02-20 12:39:22 +00:00
R. RyanTM
f151bae7ab postgresql11Packages.repmgr: 5.2.1 -> 5.3.0 (#143507) 2021-10-29 15:44:06 +02:00
R. RyanTM
28ea5a7f52 postgresql11Packages.repmgr: 5.1.0 -> 5.2.1 (#115554) 2021-03-10 22:19:14 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
OmnipotentEntity
14ee9eba43 postgresqlPackages.repmgr 5.0.0 -> 5.1.0 (#92362) 2020-07-05 20:25:24 +00:00
Daiderd Jordan
b7ddbd52bd treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
zimbatm
3951e718b8 postgresqlPackages.repmgr: 4.4.0 -> 5.0.0 2020-03-15 22:07:10 +01:00
Mario Rodas
11ba54d66d postgresqlPackages.repmgr: add platforms 2019-09-13 04:21:00 -05:00
zimbatm
4441befd43 repmgr: init at 4.4.0 (#68444) 2019-09-10 21:16:03 +02:00