diff options
Diffstat (limited to 'pkgs/development/libraries/libelf/default.nix')
-rw-r--r-- | pkgs/development/libraries/libelf/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libelf/default.nix b/pkgs/development/libraries/libelf/default.nix index 339e97b9673b..40eb2a10faf5 100644 --- a/pkgs/development/libraries/libelf/default.nix +++ b/pkgs/development/libraries/libelf/default.nix @@ -1,6 +1,6 @@ -{ fetchurl, stdenv }: +{ fetchurl, stdenv, gettext }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (rec { name = "libelf-0.8.13"; src = fetchurl { @@ -21,3 +21,12 @@ stdenv.mkDerivation rec { maintainers = [ stdenv.lib.maintainers.ludo ]; }; } + +// + +# Libelf's custom NLS macros fail to determine the catalog file extension on +# Darwin, so disable NLS for now. +# FIXME: Eventually make Gettext a build input on all platforms. +(if stdenv.isDarwin + then { configureFlags = [ "--disable-nls" ]; } + else { })) |