Merge 'staging' into closure-size

- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
This commit is contained in:
Vladimír Čunát
2015-04-18 11:00:58 +02:00
6303 changed files with 375447 additions and 91361 deletions

View File

@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
name = "gettext-0.17";
src = fetchurl {
url = "mirror://gnu/gettext/${name}.tar.gz";
sha256 = "1fipjpaxxwifdw6cbr7mkxp1yvy643i38nhlh7124bqnisxki5i0";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
'';
buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
meta = {
description = "GNU gettext, a well integrated set of translation tools and documentation";
@@ -48,5 +48,6 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/gettext/;
maintainers = [ ];
branch = "0.17";
};
}

View File

@@ -0,0 +1,11 @@
{ stdenv, fetchurl, gettext }:
stdenv.lib.overrideDerivation gettext (attrs: rec {
name = "gettext-0.18.2";
src = fetchurl {
url = "mirror://gnu/gettext/${name}.tar.gz";
sha256 = "516a6370b3b3f46e2fc5a5e222ff5ecd76f3089bc956a7587a6e4f89de17714c";
};
})

View File

@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libiconv, xz }:
stdenv.mkDerivation (rec {
name = "gettext-0.18.2";
name = "gettext-0.19.4";
src = fetchurl {
url = "mirror://gnu/gettext/${name}.tar.gz";
sha256 = "516a6370b3b3f46e2fc5a5e222ff5ecd76f3089bc956a7587a6e4f89de17714c";
sha256 = "0gvz86m4cs8bdf3mwmwsyx6lrq4ydfxgadrgd9jlx32z3bnz3jca";
};
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
@@ -35,8 +35,8 @@ stdenv.mkDerivation (rec {
enableParallelBuilding = true;
crossAttrs = {
buildInputs = stdenv.lib.optional (stdenv.gccCross.libc ? libiconv)
stdenv.gccCross.libc.libiconv.crossDrv;
buildInputs = stdenv.lib.optional (stdenv ? ccCross && stdenv.ccCross.libc ? libiconv)
stdenv.ccCross.libc.libiconv.crossDrv;
# Gettext fails to guess the cross compiler
configureFlags = "CXX=${stdenv.cross.config}-g++";
};
@@ -65,7 +65,7 @@ stdenv.mkDerivation (rec {
homepage = http://www.gnu.org/software/gettext/;
maintainers = [ stdenv.lib.maintainers.ludo ];
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}