libelf: Attempt to fix Darwin builds.
svn path=/nixpkgs/trunk/; revision=25694
This commit is contained in:
parent
edfedf6736
commit
d968cb95a2
1 changed files with 11 additions and 2 deletions
|
@ -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 { }))
|
||||
|
|
Loading…
Reference in a new issue