groonga: Fix LLVM 11 build by removing version file

This commit is contained in:
toonn
2021-11-24 15:17:13 -08:00
committed by Jonathan Ringer
parent 2a97abdc21
commit 504b89e2d3
+9 -1
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";