m17n-db: fix tarball

There's no glibc on darwin.
This commit is contained in:
Vladimír Čunát 2016-02-05 19:14:08 +01:00
parent b8d488ab93
commit 961b45a9c0

View File

@ -1,4 +1,5 @@
{stdenv, fetchurl, gettext}:
stdenv.mkDerivation rec {
name = "m17n-db-1.7.0";
@ -9,9 +10,9 @@ stdenv.mkDerivation rec {
buildInputs = [ gettext ];
configureFlags = [
configureFlags = stdenv.lib.optional (stdenv ? glibc)
"--with-charmaps=${stdenv.glibc}/share/i18n/charmaps"
];
;
meta = {
homepage = http://www.nongnu.org/m17n/;