lol

Merge pull request #181908 from Mic92/rspamd

rspamd: fix crashes by disabling pcre2 jit

authored by

Jörg Thalheim and committed by
GitHub
d8556e04 04b1ada5

+4 -2
+4 -2
pkgs/servers/mail/rspamd/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, cmake, perl 2 - , glib, luajit, openssl, pcre2, pkg-config, sqlite, ragel, icu 2 + , glib, luajit, openssl, pcre, pkg-config, sqlite, ragel, icu 3 3 , hyperscan, jemalloc, blas, lapack, lua, libsodium 4 4 , withBlas ? true 5 5 , withHyperscan ? stdenv.isx86_64 ··· 23 23 hardeningEnable = [ "pie" ]; 24 24 25 25 nativeBuildInputs = [ cmake pkg-config perl ]; 26 - buildInputs = [ glib openssl pcre2 sqlite ragel icu jemalloc libsodium ] 26 + buildInputs = [ glib openssl pcre sqlite ragel icu jemalloc libsodium ] 27 27 ++ lib.optional withHyperscan hyperscan 28 28 ++ lib.optionals withBlas [ blas lapack ] 29 29 ++ lib.optional withLuaJIT luajit ++ lib.optional (!withLuaJIT) lua; 30 30 31 31 cmakeFlags = [ 32 + # pcre2 jit seems to cause crashes: https://github.com/NixOS/nixpkgs/pull/181908 33 + "-DENABLE_PCRE2=OFF" 32 34 "-DDEBIAN_BUILD=ON" 33 35 "-DRUNDIR=/run/rspamd" 34 36 "-DDBDIR=/var/lib/rspamd"