@cryptotaxi247 / infra-1 / commits / e62caef5

haumea: postgresql: disable JIT: it doesn't build on 21.11 yet

Graham Christensen committed Dec 20, 2021 at 22:21 UTC e62caef57a68f146a04ffb4f91a6738caea13652
1 file changed +1 -1
delft/haumea.nix
+1 -1
@@ -84,7 +84,7 @@
84
85 services.postgresql = {
86 enable = true;
87 - package = pkgs.postgresql_12.overrideAttrs({ nativeBuildInputs, configureFlags, ...}: {
87 + package = if true then pkgs.postgresql_12 else pkgs.postgresql_12.overrideAttrs({ nativeBuildInputs, configureFlags, ...}: {
88 # Enable JIT compilation of queries, remove after https://github.com/NixOS/nixpkgs/pull/124804
89 nativeBuildInputs = nativeBuildInputs ++ [ pkgs.llvm pkgs.clang ];
90 configureFlags = configureFlags ++ [ "--with-llvm" ];