Commit Graph

4033 Commits

Author SHA1 Message Date
Augustin Trancart
3d19c66a1f postgresqlPackages.postgis: 3.4.3 -> 3.5.0 2024-10-03 18:01:30 +02:00
github-actions[bot]
eea46ac5bd Merge staging-next into staging 2024-09-30 00:15:14 +00:00
Alyssa Ross
ac037f0b18 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/compilers/llvm/common/default.nix
2024-09-29 20:10:12 +02:00
R. Ryantm
7c75311202 rqlite: 8.30.3 -> 8.31.0 2024-09-29 09:18:09 +00:00
R. Ryantm
60d3dac6f2 dolt: 1.42.20 -> 1.43.1 2024-09-28 11:20:54 +00:00
github-actions[bot]
c101f2dc94 Merge staging-next into staging 2024-09-27 18:04:55 +00:00
github-actions[bot]
911b856128 Merge master into staging-next 2024-09-27 18:04:26 +00:00
Sandro
512f8ce65e postgresql15Packages.wal2json: 2.5 -> 2.6 (#315097) 2024-09-27 14:53:34 +02:00
K900
d08798771a Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-27 07:52:30 +03:00
Fabián Heredia Montiel
2a115bbd1e Merge remote-tracking branch 'origin/master' into staging-next 2024-09-26 18:03:59 -06:00
Weijia Wang
c10a7d1909 dolt: 1.42.18 -> 1.42.20 (#342519) 2024-09-26 23:41:22 +02:00
Wolfgang Walther
6178e9bd3c postgresql: remove deprecated enableSystemd override
This was deprecated in e6bfabf366, where
we agreed on removing this after one release in [1].

Time has come!

[1]: https://github.com/NixOS/nixpkgs/pull/292993#discussion_r1518883146
2024-09-26 19:08:55 +02:00
Wolfgang Walther
a7fdf2256a postgresql: simplify systemdSupport default value
systemd is not available on static platforms, so the isStatic check is
redundant.
2024-09-26 19:08:54 +02:00
Wolfgang Walther
de4ad2a6ac postgresql: use newer libuuid instead of ossp-uuid
Since PostgreSQL 9.4 it's possible to build with different uuid
libraries. Eversince, the postgres docs [1] have this to say:

  [..] the OSSP UUID library [..] is not well maintained, and is
  becoming increasingly difficult to port to newer platforms. [..]
  On Linux, OS X, and some other platforms, suitable functions are
  provided in the libuuid library, which originally came from the
  e2fsprogs project (though on modern Linux it is considered part of
  util-linux-ng).

Using e2fs for Darwin was introduced 9 years ago in #8574, which library
to use for Linux was never considered again. Thus, start building with
newer libs now.

As a side effect, we require one less patch if we decide to build with
meson later.

[1]: https://www.postgresql.org/docs/current/uuid-ossp.html
2024-09-26 19:08:54 +02:00
Wolfgang Walther
149aa98ce4 postgresql: run full test-suite during checkPhase
doCheck was enabled in #61395 which does not mention an explicit decision
for "check" instead of "check-world". The latter runs more tests, for example
for contrib modules etc. - but results in higher build times..

Running "nix-build -A postgresql":
- with doCheck = false: 46s
- with checkTarget = "check": 60s
- with checkTarget = "check-world": 75s
2024-09-26 09:40:04 +02:00
Wolfgang Walther
fad9dabf9f pkgsMusl.postgresql: disable "locale -a" properly
/bin/locale doesn't exist on musl and was already effectively disabled
in #228349. However this still leaves the following warning for initdb:

  performing post-bootstrap initialization ... sh: locale: not found

By applying the alpine patch to disable locale -a entirely, this warning
will disappear. This will also make one more regression test pass when
testing "check-world" instead of "check", only.
2024-09-26 09:40:04 +02:00
github-actions[bot]
3b110ff21b Merge staging-next into staging 2024-09-26 00:14:18 +00:00
K900
a9128ce2f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-09-25 21:07:19 +03:00
Maximilian Bosch
fc16319c06 Merge: postgresqlPackages: refactor extension checks with helper (#343486) 2024-09-25 19:06:11 +02:00
Franz Pletz
f6e93ec992 postgresqlPackages: some cleanup (#343309) 2024-09-25 17:29:40 +02:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Nick Cao
490d9aab87 rqlite: 8.30.0 -> 8.30.3 (#342968) 2024-09-24 18:33:27 -04:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
github-actions[bot]
6ef8ec38ed Merge staging-next into staging 2024-09-24 12:05:42 +00:00
github-actions[bot]
bcd5388d39 Merge master into staging-next 2024-09-24 12:05:12 +00:00
Yt
2232cae406 postgresqlPackages.pgvecto-rs: 0.2.1 -> 0.3.0 (#321617) 2024-09-24 05:56:28 -04:00
Euan Kemp
4450044b7b postgresql15Packages.wal2json: 2.5 -> 2.6 2024-09-24 10:32:36 +09: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
Wolfgang Walther
f27f203f5a postgresqlPackages: use makeFlags USE_PGXS=1 consistently 2024-09-23 20:05:36 +02:00
github-actions[bot]
20a908a749 Merge staging-next into staging 2024-09-23 18:05:00 +00:00
github-actions[bot]
9a6f63ebed Merge master into staging-next 2024-09-23 18:04:34 +00:00
Simon Hauser
32cc042368 mariadb: 10.5.26, 10.6.19, 10.11.9, 11.4.3 (#334878)
* mariadb: 10.5.26, 10.6.19, 10.11.9, 11.4.3

* nixos/tests/automysqlbackup: nixfmt

* nixos/automysqlbackup: fix tests

* nixos/tests/mariadb-galera: nixfmt

* nixos/tests/mariadb-galera: fix test failing with new default IPv6 configuration
2024-09-23 20:00:19 +02:00
Wolfgang Walther
37ac1256c4 postgresqlPackages.pgjwt: add simple create extension check 2024-09-21 14:16:13 +02:00
Wolfgang Walther
2b9fa464cf postgresqlPackages: refactor extension checks
The withPackages scope now provides a "postgresqlTestExtension" helper
which removes all the boilerplate for those kind of tests.

This was Mario Rodas' idea in #299756.
2024-09-21 14:16:12 +02:00
Wolfgang Walther
b6567e0a54 postgresqlPackages.lantern.tests.extension: fix test
The name of the access method was changed upstream a while ago.
2024-09-21 14:16:12 +02:00
github-actions[bot]
b84aacf2e6 Merge staging-next into staging 2024-09-21 12:05:41 +00:00
github-actions[bot]
d3ae261fc3 Merge master into staging-next 2024-09-21 12:05:16 +00:00
Maximilian Bosch
9163a9f3b8 Merge: postgresql: improve fake pg_config in default output (#341421) 2024-09-21 14:04:45 +02:00
Maximilian Bosch
789562caae Merge: nixos/tests: add postgresql wal2json test (#315095) 2024-09-21 13:27:22 +02:00
Maximilian Bosch
2795949808 Merge: postgresql_jit.pkgs.postgis: fix build on darwin (#342369) 2024-09-21 11:53:12 +02:00
Ivan Mincik
6ea0c7e924 postgresqlPackages.postgis: 3.4.2 -> 3.4.3 (#343371) 2024-09-21 06:54:30 +00:00
Augustin Trancart
dc750b8237 postgresqlPackages.postgis: 3.4.2 -> 3.4.3 2024-09-20 23:58:45 +02:00
Wolfgang Walther
486633e3f4 postgresqlPackages.system_stats: 3.0 -> 3.2 2024-09-20 19:08:36 +02:00
github-actions[bot]
ed37db52bd Merge staging-next into staging 2024-09-20 06:05:57 +00:00
K900
d8a54461fc Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-20 07:27:56 +03:00
Adam C. Stephens
8c681805d7 patroni: 4.0.1 -> 4.0.2 (#343064) 2024-09-19 20:14:27 -04:00
Adam Stephens
16db97d6a3 patroni: 4.0.1 -> 4.0.2
https://github.com/patroni/patroni/blob/v4.0.2/docs/releases.rst#version-402
2024-09-19 16:52:57 -04:00
Wolfgang Walther
0c47767641 postgresql: improve fake pg_config in default output
This fixes some build systems which look up the location of pg_config
via the location of the postgres binary itself, e.g. timescaledb,
instead of calling pg_config which is on PATH.

Since the -dev output is correctly placed before the default output of
postgresql in PATH, we can rely on that and call "pg_config" from the
default output's fake script. Only do that, when the one on PATH is
actually a different file, though, to prevent infinite loops.

Resolves #341408
2024-09-19 18:58:20 +02:00
Wolfgang Walther
cd85a62bc2 postgresql_jit.pkgs.postgis: fix build on darwin
We introduced LTO in #294504. At that time, we still needed to use LLVM
/ lld to make this work on darwin. For this to work for extensions, they
would need to set CFLAGS=-fuse-ld=lld, too. However, since #307880
landed, we don't need to do this anymore in the first place, LTO just
works out of the box on darwin.

Resolves #342362
2024-09-19 14:50:23 +02:00
R. Ryantm
bf8188532b rqlite: 8.30.0 -> 8.30.3 2024-09-19 06:04:10 +00:00