mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
m17n-db: fix tarball
There's no glibc on darwin.
This commit is contained in:
parent
b8d488ab93
commit
961b45a9c0
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue