nixpkgs/nixos/modules/services/databases
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
..
aerospike.nix nixos/aerospike: use NixOS option instead of custom script 2023-12-28 17:41:59 +01:00
cassandra.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
clickhouse.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
cockroachdb.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
couchdb.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
dgraph.nix treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +01:00
dragonflydb.nix
etcd.nix nixos/etcd: fix etcd category from misc to databases 2024-01-26 16:40:11 -03:00
ferretdb.nix nixos/ferretdb: fix broken link to documentation 2023-10-23 16:48:31 +00:00
firebird.nix Merge pull request #267327 from bbenno/fix/nixos-firebird 2024-01-19 22:12:47 +01:00
foundationdb.md foundationdb: cleanup 2023-06-08 14:48:41 +03:00
foundationdb.nix
hbase-standalone.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
influxdb2.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
influxdb.nix nixos/influxdb: restart on failure 2023-12-06 23:17:29 +01:00
lldap.nix nixos/lldap: set service UMask=0027 and StateDirectoryMode=0750 2024-03-11 17:34:29 +01:00
memcached.nix nixos/memcached: clarify behaviour of enableUnixSocket 2024-02-26 15:29:55 +01:00
monetdb.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
mongodb.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
mysql.nix nixos/mysql: Use notify service type for MySQL >= 8.0 2024-02-11 15:41:25 -08:00
neo4j.nix neo4j: 4.4.11 -> 5.9.0 2024-01-05 18:20:24 +01:00
openldap.nix nixos: fix a bunch of services missing dep on network-online.target 2024-01-19 00:11:34 -08:00
opentsdb.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
pgbouncer.nix nixos/pgbouncer: fix openFirewall option 2024-02-15 21:42:27 +01:00
pgmanage.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
postgresql.md postgresql: refactor to remove "this" argument 2024-03-15 21:11:09 +01:00
postgresql.nix postgresql: refactor to pass jitSupport/llvm via scope instead of passthru 2024-03-15 21:11:09 +01:00
redis.nix Merge pull request #261702 from h7x4/replace-mkoption-with-mkpackageoption 2023-11-30 02:49:30 +01:00
rethinkdb.nix
surrealdb.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
tigerbeetle.md nixos/tigerbeetle: init module 2024-01-19 13:19:27 -08:00
tigerbeetle.nix nixos/tigerbeetle: init module 2024-01-19 13:19:27 -08:00
victoriametrics.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00