diff options
author | chayleaf <chayleaf-git@pavluk.org> | 2023-11-22 13:44:23 +0700 |
---|---|---|
committer | chayleaf <chayleaf-git@pavluk.org> | 2023-11-22 13:46:22 +0700 |
commit | c6e4eb5097f9b9a699a66e86e4d6c75d8d83ed35 (patch) | |
tree | 198f2f8b1ceb135d6bb063cdeb51dba1a032ba6f /pkgs/servers/mail/rspamd | |
parent | 419085f8b1df8a13790325af99d0b7bce3654545 (diff) |
rspamd: fix build on non-x86_64 platforms
Diffstat (limited to 'pkgs/servers/mail/rspamd')
-rw-r--r-- | pkgs/servers/mail/rspamd/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/servers/mail/rspamd/default.nix b/pkgs/servers/mail/rspamd/default.nix index 7bd0b01dd60e..2832e8f917ba 100644 --- a/pkgs/servers/mail/rspamd/default.nix +++ b/pkgs/servers/mail/rspamd/default.nix @@ -37,6 +37,14 @@ stdenv.mkDerivation rec { hash = "sha256-Bg0EFgxk/sRwE8/7a/m8J4cTgooR4fobQil8pbWtkoc="; }; + patches = [ + (fetchpatch2 { + name = "no-hyperscan-fix.patch"; + url = "https://github.com/rspamd/rspamd/commit/d907a95ac2e2cad6f7f65c4323f031f7931ae18b.patch"; + hash = "sha256-bMmgiJSy0QrzvBAComzT0aM8UF8OKeV0VgMr0wwrM6w="; + }) + ]; + hardeningEnable = [ "pie" ]; nativeBuildInputs = [ cmake pkg-config perl ]; |