From 6f5e72deedcce9381c1844d3ea3d91aa4c1d7ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 21 Jul 2011 13:51:03 +0000 Subject: [PATCH] libelf: Disable native language support on Darwin. svn path=/nixpkgs/trunk/; revision=27877 --- pkgs/development/libraries/libelf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libelf/default.nix b/pkgs/development/libraries/libelf/default.nix index 46be77d713d..40eb2a10faf 100644 --- a/pkgs/development/libraries/libelf/default.nix +++ b/pkgs/development/libraries/libelf/default.nix @@ -24,9 +24,9 @@ stdenv.mkDerivation (rec { // -# Gettext is lacking from `stdenv' on Darwin, but not completely, so NLS -# support is enabled but eventually fails. +# 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 { buildInputs = [ gettext ]; } + then { configureFlags = [ "--disable-nls" ]; } else { }))