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