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

@@ -10,7 +10,11 @@ stdenv.mkDerivation rec {
outputs = [ "dev" "out" "doc" ];
buildInputs = [ gmp ];
# mpfr.h requires gmp.h
propagatedBuildInputs = [ gmp ];
CFLAGS = "-I${gmp}/include";
LDFLAGS = if stdenv.isDarwin then "-L${gmp}/lib" else null;
configureFlags =
/* Work around a FreeBSD bug that otherwise leads to segfaults in the test suite:
@@ -43,7 +47,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}