Loading pkgs/servers/mail/rspamd/default.nix +9 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ , lib , fetchFromGitHub , cmake , doctest , fmt , perl , glib , luajit Loading @@ -17,6 +19,8 @@ , lapack , lua , libsodium , xxHash , zstd , withBlas ? true , withHyperscan ? stdenv.isx86_64 , withLuaJIT ? stdenv.isx86_64 Loading @@ -39,7 +43,7 @@ stdenv.mkDerivation rec { hardeningEnable = [ "pie" ]; nativeBuildInputs = [ cmake pkg-config perl ]; buildInputs = [ glib openssl pcre sqlite ragel icu jemalloc libsodium ] buildInputs = [ doctest fmt glib openssl pcre sqlite ragel icu jemalloc libsodium xxHash zstd ] ++ lib.optional withHyperscan hyperscan ++ lib.optionals withBlas [ blas lapack ] ++ lib.optional withLuaJIT luajit ++ lib.optional (!withLuaJIT) lua; Loading @@ -53,6 +57,10 @@ stdenv.mkDerivation rec { "-DLOGDIR=/var/log/rspamd" "-DLOCAL_CONFDIR=/etc/rspamd" "-DENABLE_JEMALLOC=ON" "-DSYSTEM_DOCTEST=ON" "-DSYSTEM_FMT=ON" "-DSYSTEM_XXHASH=ON" "-DSYSTEM_ZSTD=ON" ] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON" ++ lib.optional (!withLuaJIT) "-DENABLE_LUAJIT=OFF"; Loading Loading
pkgs/servers/mail/rspamd/default.nix +9 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ , lib , fetchFromGitHub , cmake , doctest , fmt , perl , glib , luajit Loading @@ -17,6 +19,8 @@ , lapack , lua , libsodium , xxHash , zstd , withBlas ? true , withHyperscan ? stdenv.isx86_64 , withLuaJIT ? stdenv.isx86_64 Loading @@ -39,7 +43,7 @@ stdenv.mkDerivation rec { hardeningEnable = [ "pie" ]; nativeBuildInputs = [ cmake pkg-config perl ]; buildInputs = [ glib openssl pcre sqlite ragel icu jemalloc libsodium ] buildInputs = [ doctest fmt glib openssl pcre sqlite ragel icu jemalloc libsodium xxHash zstd ] ++ lib.optional withHyperscan hyperscan ++ lib.optionals withBlas [ blas lapack ] ++ lib.optional withLuaJIT luajit ++ lib.optional (!withLuaJIT) lua; Loading @@ -53,6 +57,10 @@ stdenv.mkDerivation rec { "-DLOGDIR=/var/log/rspamd" "-DLOCAL_CONFDIR=/etc/rspamd" "-DENABLE_JEMALLOC=ON" "-DSYSTEM_DOCTEST=ON" "-DSYSTEM_FMT=ON" "-DSYSTEM_XXHASH=ON" "-DSYSTEM_ZSTD=ON" ] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON" ++ lib.optional (!withLuaJIT) "-DENABLE_LUAJIT=OFF"; Loading