Author: ludo
Date: Thu Jan 27 09:50:44 2011
New Revision: 25694
URL: https://svn.nixos.org/websvn/nix/?rev=25694&sc=1
Log:
libelf: Attempt to fix Darwin builds.
Modified:
nixpkgs/trunk/pkgs/development/libraries/libelf/default.nix
Modified: nixpkgs/trunk/pkgs/development/libraries/libelf/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/libraries/libelf/default.nix Wed Jan 26
15:39:40 2011 (r25693)
+++ nixpkgs/trunk/pkgs/development/libraries/libelf/default.nix Thu Jan 27
09:50:44 2011 (r25694)
@@ -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 @@
maintainers = [ stdenv.lib.maintainers.ludo ];
};
}
+
+//
+
+# Gettext is lacking from `stdenv' on Darwin, but not completely, so NLS
+# support is enabled but eventually fails.
+# FIXME: Eventually make Gettext a build input on all platforms.
+(if stdenv.isDarwin
+ then { buildInputs = [ gettext ]; }
+ else { }))
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits