groonga: Fix LLVM 11 build by removing version file

This commit is contained in:
toonn 2021-07-14 18:26:54 +02:00 committed by Jonathan Ringer
parent 2a97abdc21
commit 504b89e2d3

View File

@ -2,6 +2,7 @@
, suggestSupport ? false, zeromq, libevent, msgpack
, lz4Support ? false, lz4
, zlibSupport ? false, zlib
, autoconf, automake
}:
stdenv.mkDerivation rec {
@ -14,12 +15,19 @@ stdenv.mkDerivation rec {
sha256 = "sha256-oBABhMKLezjPeHkWfqesy+ze+CPnWfmS17vCKC7fWEU=";
};
preConfigure = ''
rm version
aclocal
'';
buildInputs = with lib;
[ pkg-config mecab kytea libedit ]
[ mecab kytea libedit ]
++ optional lz4Support lz4
++ optional zlibSupport zlib
++ optionals suggestSupport [ zeromq libevent msgpack ];
nativeBuildInputs = [ autoconf automake pkg-config ];
configureFlags = with lib;
optional zlibSupport "--with-zlib"
++ optional lz4Support "--with-lz4";