mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-11 10:16:01 +01:00
Make sure that JIT is actually available when using
services.postgresql = {
enable = true;
enableJIT = true;
package = pkgs.postgresql_15;
};
The current behavior is counter-intuitive because the docs state that
`enableJIT = true;` is sufficient even though it wasn't in that case
because the declared package doesn't have the LLVM dependency.
Fixed by using `package.withJIT` if `enableJIT = true;` and
`package.jitSupport` is `false`.
Also updated the postgresql-jit test to test for that case.
|
||
|---|---|---|
| .. | ||
| aerospike.nix | ||
| cassandra.nix | ||
| clickhouse.nix | ||
| cockroachdb.nix | ||
| couchdb.nix | ||
| dgraph.nix | ||
| dragonflydb.nix | ||
| firebird.nix | ||
| foundationdb.md | ||
| foundationdb.nix | ||
| hbase-standalone.nix | ||
| influxdb.nix | ||
| influxdb2.nix | ||
| memcached.nix | ||
| monetdb.nix | ||
| mongodb.nix | ||
| mysql.nix | ||
| neo4j.nix | ||
| openldap.nix | ||
| opentsdb.nix | ||
| pgmanage.nix | ||
| postgresql.md | ||
| postgresql.nix | ||
| redis.nix | ||
| rethinkdb.nix | ||
| surrealdb.nix | ||
| victoriametrics.nix | ||