1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

libelf: Attempt to fix Darwin builds.

svn path=/nixpkgs/trunk/; revision=25694
This commit is contained in:
Ludovic Courtès 2011-01-27 09:50:44 +00:00
parent edfedf6736
commit d968cb95a2

View file

@ -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 ];
};
}
//
# 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 { }))