Commit Graph

597191 Commits

Author SHA1 Message Date
Wolfgang Walther
01444957ba
postgresql: explain use of fetchurl for alpine patches 2024-03-16 11:52:39 +01:00
Wolfgang Walther
e6bfabf366
postgresql: rename enableSystemd to systemdSupport for consistency
We have gssSupport, jitSupport and pythonSupport - but enableSystemd?

Across nixpkgs there are currently three styles commonly used, about equally
often: withX, xSupport and enableX.

Let's at least use one consistent style in this package.
2024-03-15 21:11:10 +01:00
Wolfgang Walther
d7ae1c5143
postgresql: refactor to remove doInstallCheck = false
This is the default anyway.
2024-03-15 21:11:09 +01:00
Wolfgang Walther
4b6bce5c31
postgresql: refactor to remove "this" argument
This was proposed by abbradar in #150801, but left out of the follow up PR
#221851 by Ma27 to reduce the size of the diff. Compared to the initial
proposal this includes the callPackage call in the recursion, which avoids
breaking the withJIT/withoutJIT helpers.

In terms of nixpkgs, this is a pure refactor, no derivations change. However,
this makes downstream expressions like the following possible:

  (postgresql.override { jitSupport = true; }).pkgs.postgis

This would have not worked before without passing another "this" argument,
which is error prone as can be seen in this example:

  https://github.com/PostgREST/postgrest/pull/3222/files
2024-03-15 21:11:09 +01:00
Wolfgang Walther
14b3ea2789
postgresql: refactor to pass jitSupport/llvm via scope instead of passthru
This makes it less error-prone to use the llvm package in extensions, because
it will always match the package used by the postgresql derivation itself.

Previously, you could've accidentally used llvm instead of postgresql.llvm
with a different result.
2024-03-15 21:11:09 +01:00
Wolfgang Walther
b301c01e31
postgresql: refactor to move musl patches into versioned .nix files
This makes it obvious that the required argument muslPatches must be passed when
creating a new version file.

Pure refactor, not changing any derivations.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
82e6c4a609
postgresql: refactor to remove psqlSchema argument
The passthru attribute is still set, but automatically created from
the major version number. Fewer moving parts decrease the chance
for mistakes.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
a92a323a1d
postgresql: refactor to remove passthru's readline attribute
This seems to have been introduced 20 years ago in 5863d4f - but
seems to have been a copy&paste mistake from the beginning.
AFAICT, it's not used anywhere.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
62635c9643
postgresql: refactor mkPackages in default.nix
Refactors some low hanging fruit in default.nix to make it easier to add new
versions later on.

Pure refactor, not changing any derivations.

This change makes it easier to add new versions in default.nix without messing
up - and also prevents us from adding version-specific arguments in default.nix
by accident in the future. Those should be put in the versioned .nix files
instead.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
1d9f2bd726
postgresql: refactor to split up default.nix (2/2)
The recommended [1] structure for a package regarding versioning is to have each
version in a separate file. This commit just mechanically copies code around
without any changes.

Pure refactor, not changing any derivations.

[1]: pkgs/README.md
2024-03-15 18:51:02 +01:00
Wolfgang Walther
9af8c0a3b7
postgresql: refactor to split up default.nix (1/2)
This just renames default.nix to generic.nix, because the biggest chunk
of code should move that way in the next commit. This gives us a much
better diff for the next commit and makes rebasing **much** easier in
case of changes. This commit does not stand on its own and needs to go
in with the next commit (2/2).
2024-03-15 18:51:02 +01:00
Wolfgang Walther
4c8e7af941
postgresql: refactor to remove useless references to "self"
No need to reference self here, because llvmPackages / stdenv' are available
in that scope anyway. Pure refactor, derivations don't change.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
719034f6f6
postgresql: refactor to move packages.nix to ext/default.nix (2/2)
This aligns more with the commonly used style in nixpkgs.
2024-03-15 18:51:01 +01:00
Wolfgang Walther
9ef7195e08
postgresql: refactor to move packages.nix to ext/default.nix (1/2)
This commit is split up into two commits to allow git to detect renames,
make rebasing easier and allow a working entry in .git-blame-ignore-revs.

To allow bisecting we allow evaluation on every commit by moving the extensions
into ext/ext/ first and back to ext/ with the next commit.
2024-03-15 18:50:20 +01:00
Wolfgang Walther
01463448be
postgresql: refactor to move locale-binary-path.patch into patches/
Seems to have been put in the wrong place.
2024-03-15 18:50:19 +01:00
Nick Cao
726fd60dff
Merge pull request #296145 from r-ryantm/auto-update/klipper-estimator
klipper-estimator: 3.6.0 -> 3.7.0
2024-03-15 13:48:42 -04:00
Nick Cao
3e68f1246a
Merge pull request #296147 from wrbbz/pulumi-bin-3.111.0
pulumi-bin: 3.109.1 -> 3.111.0
2024-03-15 13:48:24 -04:00
Nick Cao
7a43e5dce3
Merge pull request #296148 from r-ryantm/auto-update/pgweb
pgweb: 0.14.3 -> 0.15.0
2024-03-15 13:48:10 -04:00
Nick Cao
7fc8a701c1
Merge pull request #296161 from r-ryantm/auto-update/python312Packages.amaranth
python312Packages.amaranth: 0.4.3 -> 0.4.4
2024-03-15 13:47:19 -04:00
Nick Cao
19a6f976e3
Merge pull request #296167 from r-ryantm/auto-update/semantic-release
semantic-release: 23.0.2 -> 23.0.3
2024-03-15 13:45:57 -04:00
Nick Cao
44838a6171
Merge pull request #296116 from r-ryantm/auto-update/sqlx-cli
sqlx-cli: 0.7.3 -> 0.7.4
2024-03-15 13:43:38 -04:00
Nick Cao
d8515a46a0
Merge pull request #296136 from r-ryantm/auto-update/python312Packages.opower
python312Packages.opower: 0.4.0 -> 0.4.1
2024-03-15 13:42:55 -04:00
Nick Cao
433271c706
Merge pull request #296092 from r-ryantm/auto-update/airlift
airlift: 0.3.0 -> 0.3.1
2024-03-15 13:39:51 -04:00
Nick Cao
fff2592918
Merge pull request #296068 from r-ryantm/auto-update/moon
moon: 1.22.6 -> 1.22.7
2024-03-15 13:38:44 -04:00
Nick Cao
537f87cfb7
Merge pull request #296056 from r-ryantm/auto-update/hunt
hunt: 2.2.0 -> 2.3.0
2024-03-15 13:36:27 -04:00
Nick Cao
9a24c00452
Merge pull request #296047 from r-ryantm/auto-update/wleave
wleave: 0.3.2 -> 0.4.0
2024-03-15 13:35:33 -04:00
Nick Cao
d6bc0769a1
Merge pull request #296044 from Kranzes/cargo-wizard
cargo-wizard: 0.2.1 -> 0.2.2
2024-03-15 13:34:28 -04:00
Nick Cao
300e7f1cb4
Merge pull request #296043 from r-ryantm/auto-update/python312Packages.aiooncue
python312Packages.aiooncue: 0.3.5 -> 0.3.7
2024-03-15 13:33:34 -04:00
Nick Cao
2094662157
Merge pull request #296042 from marsam/update-flexget
flexget: 3.11.22 -> 3.11.23
2024-03-15 13:32:49 -04:00
Nick Cao
3bdaea5336
Merge pull request #296034 from r-ryantm/auto-update/go-containerregistry
go-containerregistry: 0.19.0 -> 0.19.1
2024-03-15 13:31:42 -04:00
Nick Cao
a1fffead34
Merge pull request #296032 from r-ryantm/auto-update/arkade
arkade: 0.11.4 -> 0.11.5
2024-03-15 13:31:14 -04:00
Nick Cao
aacb9b96f6
Merge pull request #296030 from r-ryantm/auto-update/dasel
dasel: 2.6.0 -> 2.7.0
2024-03-15 13:30:48 -04:00
Nick Cao
af5fbcb342
Merge pull request #296031 from r-ryantm/auto-update/kubefirst
kubefirst: 2.3.8 -> 2.4.0
2024-03-15 13:29:35 -04:00
Doron Behar
6bea063d09
Merge pull request #290931 from simonhollingshead/libtins-cpp14
libtins: Force compilation using C++14.
2024-03-15 19:09:11 +02:00
Maximilian Bosch
fe36ef0d1e
Merge pull request #294020 from r-ryantm/auto-update/grafana
grafana: 10.3.3 -> 10.3.4, fix CVE-2024-1442
2024-03-15 16:41:36 +00:00
Maciej Krüger
bda93c2221
Merge pull request #294258 from mkg20001/oil-fix
oil: apply renames as requested by upstream
2024-03-15 15:44:43 +01:00
Martin Weinelt
e103b83b33
Merge pull request #296162 from mweinelt/pylacrosse-pynose
python312Packages.pylacrosse: substitute nose with pynose
2024-03-15 15:44:19 +01:00
Leona Maroni
c5bada18b7
Merge pull request #293375 from emilylange/dnscontrol-version-reporting
dnscontrol: fix version reporting (again), add version test to `passthru.tests`
2024-03-15 15:42:29 +01:00
Janik
6f197ab1e7
Merge pull request #296084 from r-ryantm/auto-update/python311Packages.django-leaflet
python311Packages.django-leaflet: 0.29.0 -> 0.29.1
2024-03-15 15:41:58 +01:00
R. Ryantm
f0d83864ef semantic-release: 23.0.2 -> 23.0.3 2024-03-15 14:37:02 +00:00
Mario Rodas
0c8ba6990c
Merge pull request #296150 from r-ryantm/auto-update/postgresqlJitPackages.plpgsql_check
postgresqlJitPackages.plpgsql_check: 2.7.3 -> 2.7.4

Closes https://github.com/NixOS/nixpkgs/pull/296149
Closes https://github.com/NixOS/nixpkgs/pull/296151
Closes https://github.com/NixOS/nixpkgs/pull/296153
Closes https://github.com/NixOS/nixpkgs/pull/296154
2024-03-15 09:29:09 -05:00
Bernardo Meurer
8444643453
Merge pull request #295971 from danielmain/master 2024-03-15 10:25:55 -04:00
Bernardo Meurer
1bb9f10451
Merge pull request #291184 from stalkerhumanoid/update-mediafile-0.12.0 2024-03-15 10:25:31 -04:00
Martin Weinelt
9aaa540da1
python312Packages.pylacrosse: substitute nose with pynose
Fixes the build on Python 3.12.
2024-03-15 15:16:42 +01:00
Emily
20369b5329
Merge pull request #296045 from emilylange/grafana-agent
grafana-agent: 0.40.2 -> 0.40.3
2024-03-15 15:16:01 +01:00
José Romildo Malaquias
286f17d7e6
Merge pull request #295999 from r-ryantm/auto-update/numix-icon-theme-circle
numix-icon-theme-circle: 24.02.05 -> 24.03.12
2024-03-15 11:07:20 -03:00
R. Ryantm
d4873f0ef0 python312Packages.amaranth: 0.4.3 -> 0.4.4 2024-03-15 14:04:09 +00:00
9R
8cac26901a
home-assistant custom component omnik_inverter: init at v2.6.4 (#296085) 2024-03-15 15:01:40 +01:00
P
99f728d536
indiepass-desktop: remove (#295882) 2024-03-15 14:38:53 +01:00
R. Ryantm
dddd27dc94 postgresqlJitPackages.plpgsql_check: 2.7.3 -> 2.7.4 2024-03-15 13:32:48 +00:00