m17n-lib: fix cross-compilation

without reconf the build fails with

./configure: line 21532: syntax error near unexpected token `ANTHY,'
./configure: line 21532: `PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)'
This commit is contained in:
Artturin 2021-10-22 01:47:09 +03:00
parent c5ef7d7091
commit a354a240de

View File

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, m17n_db}:
{ lib, stdenv, fetchurl, m17n_db, autoreconfHook, pkg-config }:
stdenv.mkDerivation rec {
pname = "m17n-lib";
version = "1.8.0";
@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq";
};
strictDeps = true;
# reconf needed to sucesfully cross-compile
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ m17n_db ];
meta = {