groonga: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-29 17:21:15 +02:00 committed by Martin Weinelt
parent 31e5ad8466
commit 47945f27bf
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, autoreconfHook, mecab, kytea, libedit, pkg-config { lib, stdenv, fetchurl, autoreconfHook, mecab, kytea, libedit, pkg-config, libxcrypt
, suggestSupport ? false, zeromq, libevent, msgpack, openssl , suggestSupport ? false, zeromq, libevent, msgpack, openssl
, lz4Support ? false, lz4 , lz4Support ? false, lz4
, zlibSupport ? true, zlib , zlibSupport ? true, zlib
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
''; '';
buildInputs = with lib; buildInputs = with lib;
[ mecab kytea libedit openssl ] [ mecab kytea libedit openssl libxcrypt ]
++ optional lz4Support lz4 ++ optional lz4Support lz4
++ optional zlibSupport zlib ++ optional zlibSupport zlib
++ optionals suggestSupport [ zeromq libevent msgpack ]; ++ optionals suggestSupport [ zeromq libevent msgpack ];