groonga: Switch to autoreconfHook

Use `autoreconfHook` rather than manually running `aclocal`.
Clarify removal of `version` file.

authored by

toonn and committed by
Jonathan Ringer
8edba0e2 787a8b85

+3 -4
+3 -4
pkgs/servers/search/groonga/default.nix
··· 1 - { lib, stdenv, fetchurl, mecab, kytea, libedit, pkg-config 1 + { lib, stdenv, fetchurl, autoreconfHook, mecab, kytea, libedit, pkg-config 2 2 , suggestSupport ? false, zeromq, libevent, msgpack 3 3 , lz4Support ? false, lz4 4 4 , zlibSupport ? false, zlib 5 - , autoconf, automake 6 5 }: 7 6 8 7 stdenv.mkDerivation rec { ··· 16 15 }; 17 16 18 17 preConfigure = '' 18 + # To avoid problems due to libc++abi 11 using `#include <version>`. 19 19 rm version 20 - aclocal 21 20 ''; 22 21 23 22 buildInputs = with lib; ··· 26 25 ++ optional zlibSupport zlib 27 26 ++ optionals suggestSupport [ zeromq libevent msgpack ]; 28 27 29 - nativeBuildInputs = [ autoconf automake pkg-config ]; 28 + nativeBuildInputs = [ autoreconfHook pkg-config ]; 30 29 31 30 configureFlags = with lib; 32 31 optional zlibSupport "--with-zlib"