about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorMaximilian Bosch2024-11-02 16:52:02 +0100
committerMaximilian Bosch2024-11-15 09:17:06 +0100
commit0b3eef7441c4c8becc61d67004bd8d05c33922a1 (patch)
treec94d0575c242fe16c24a7fd956eded10499d7760 /nixos/tests
parent4a8b1cc9584b8e766b4cf7dd67264b94225f3be1 (diff)
postgresql_12: remove
This will be EOL at the end of November, so there's little reason to
keep it in 24.11[1]. As discussed, we'd like to keep it for as long as
possible to make sure there's a state in nixpkgs that has the latest
minor of postgresql_12 available with the most recent CVEs fixed for
people who cannot upgrade[2].

This aspect has been made explicit in the manual now for the next .11
release.

During the discussions it has been brought up that if people just do
`services.postgresql.enable = true;` and let the code decide the
postgresql version based on `system.stateVersion`, there's a chance that
such EOL dates will be missed. To make this harder, a warning will now
be raised when using the stateVersion-condition and the oldest still
available major is selected.

Additionally regrouped the postgresql things in the release notes to
make sure these are all shown consecutively. Otherwise it's a little
hard to keep track of all the changes made to postgresql in 24.11.

[1] https://endoflife.date/postgresql
[2] https://github.com/NixOS/nixpkgs/pull/353158#issuecomment-2453056692
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/pleroma.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/pleroma.nix b/nixos/tests/pleroma.nix
index 9e1bc1ccefbf..8a765c919329 100644
--- a/nixos/tests/pleroma.nix
+++ b/nixos/tests/pleroma.nix
@@ -205,7 +205,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
         };
         postgresql = {
           enable = true;
-          package = pkgs.postgresql_12;
+          package = pkgs.postgresql_13;
         };
         nginx = {
           enable = true;