Skip to content

Commit

Permalink
rspamd: add passthru.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nh2 committed Oct 22, 2020
1 parent 02daf3f commit 1c20e2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/servers/mail/rspamd/default.nix
Expand Up @@ -4,6 +4,7 @@
, withBlas ? true
, withHyperscan ? stdenv.isx86_64
, withLuaJIT ? stdenv.isx86_64
, nixosTests
}:

assert withHyperscan -> stdenv.isx86_64;
Expand Down Expand Up @@ -34,6 +35,8 @@ stdenv.mkDerivation rec {
"-DENABLE_JEMALLOC=ON"
] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON";

passthru.tests.rspamd = nixosTests.rspamd;

meta = with stdenv.lib; {
homepage = "https://rspamd.com";
license = licenses.asl20;
Expand Down

0 comments on commit 1c20e2c

Please sign in to comment.