rspamd: fix build on non-x86_64 platforms

(cherry picked from commit c6e4eb5097)
This commit is contained in:
chayleaf
2023-11-22 13:44:23 +07:00
committed by github-actions[bot]
parent eda04d71f7
commit 3cf5bb87d6

View File

@@ -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 ];