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
1 changed files with 3 additions and 2 deletions

View File

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