nixpkgs/nixos/modules
Maximilian Bosch e2fb651752
nixos/postgresql: fix enableJIT
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.
2023-03-29 08:39:47 +02:00
..
config Merge pull request #222205 from NickCao/zram-writeback-device 2023-03-23 13:14:08 +08:00
hardware nixos/hidpi: remove 2023-03-21 13:29:57 +01:00
i18n/input-method nixos/manual: render module chapters with nixos-render-docs 2023-01-27 20:07:34 +01:00
installer Merge pull request #221576 from paumr/nixos-generate-config_fix_syntax 2023-03-22 20:10:43 +01:00
misc solr: drop 2023-03-16 16:17:04 +02:00
profiles nixos/profiles/base: remove duplicate and optimize fsPackages 2023-03-03 23:32:48 +03:00
programs wxGTK30, wxmac: drop 2023-03-22 13:56:44 +02:00
security doas: refactor config generation 2023-03-17 09:05:08 -07:00
services nixos/postgresql: fix enableJIT 2023-03-29 08:39:47 +02:00
system Merge pull request #218721 from apfelkuchen6/nw 2023-03-22 22:22:03 +01:00
tasks Merge remote-tracking branch 'origin/master' into staging-next 2023-03-14 16:49:37 +01:00
testing Merge pull request #207801 from ElvishJerricco/systemd-stage-1-test-instrumentation 2022-12-28 01:43:03 +01:00
virtualisation Merge #219444: staging-next 2023-03-04 2023-03-15 17:35:39 +01:00
module-list.nix keyd: add keyd service and test 2023-03-22 15:12:29 +01:00
rename.nix baget: remove due to upstream being unmaintained 2023-03-19 14:19:49 +01:00