mariadb: libsodium is required to build mroonga storage

This commit is contained in:
Izorkin 2021-07-04 22:51:17 +03:00
parent 0a17f3b530
commit f85b19387d
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

@ -4,7 +4,7 @@
, bzip2, lz4, lzo, snappy, xz, zlib, zstd
, fixDarwinDylibNames, cctools, CoreServices, less
, numactl # NUMA Support
, withStorageMroonga ? true, kytea, msgpack, zeromq
, withStorageMroonga ? true, kytea, libsodium, msgpack, zeromq
, withStorageRocks ? true
}:
@ -155,7 +155,7 @@ server = stdenv.mkDerivation (common // {
bzip2 lz4 lzo snappy xz zstd
libxml2 judy libevent cracklib
] ++ optional (stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32) numactl
++ optionals withStorageMroonga [ kytea msgpack zeromq ]
++ optionals withStorageMroonga [ kytea libsodium msgpack zeromq ]
++ optional stdenv.hostPlatform.isLinux linux-pam
++ optional (!stdenv.hostPlatform.isDarwin) mytopEnv;