m17n-db: fix cross-compilation

enable strictDeps
had to add gawk and bash as there are some scripts with the sh shebang and
gawk shebang
This commit is contained in:
Artturin 2021-10-21 22:53:01 +03:00
parent be3d12d4e5
commit c5ef7d7091

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, gettext }:
{ lib, stdenv, fetchurl, gettext, gawk, bash }:
stdenv.mkDerivation rec {
pname = "m17n-db";
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5";
};
buildInputs = [ gettext ];
nativeBuildInputs = [ gettext ];
buildInputs = [ gettext gawk bash ];
strictDeps = true;
configureFlags = lib.optional (stdenv ? glibc)
"--with-charmaps=${stdenv.glibc.out}/share/i18n/charmaps"