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,6 +2,8 @@
, cross ? null, gold ? true, bison ? null
}:
assert !stdenv.isDarwin;
let basename = "binutils-2.23.1"; in
with { inherit (stdenv.lib) optional optionals optionalString; };
@@ -36,9 +38,8 @@ stdenv.mkDerivation rec {
outputs = [ "dev" "out" "info" ];
buildInputs =
[ zlib ]
++ optional gold bison;
nativeBuildInputs = optional gold bison;
buildInputs = [ zlib ];
inherit noSysDirs;