Merging from trunk. I resolved some conflicts; I hope that well.
svn path=/nixpkgs/branches/stdenv-updates/; revision=24429
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconv ? null}:
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconv}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glib-2.22.5";
|
||||
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "802be9c9ffeb631725ffd6ed35af0af309776729a7fab4fcb48f2b0b8fe7245b";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig gettext perl libiconv];
|
||||
buildInputs = [pkgconfig gettext perl]
|
||||
++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
|
||||
# The nbd package depends on a static version of this library; hence
|
||||
# the default configure flag --disable-static is switched off.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconv ? null, zlib }:
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconv, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glib-2.24.1";
|
||||
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "014c3da960bf17117371075c16495f05f36501db990851ceea658f15d2ea6d04";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gettext libiconv ];
|
||||
buildInputs = [ pkgconfig gettext ]
|
||||
++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
buildNativeInputs = [ perl ];
|
||||
|
||||
propagatedBuildInputs = [ zlib ];
|
||||
|
||||
Reference in New Issue
Block a user