Merge master into stdenv-updates

Conflicts (simple):
	pkgs/development/tools/misc/binutils/default.nix
	pkgs/tools/package-management/disnix/default.nix
	pkgs/top-level/all-packages.nix
This commit is contained in:
Vladimír Čunát
2013-07-08 10:48:05 +02:00
304 changed files with 7116 additions and 1620 deletions
@@ -1,4 +1,6 @@
{ stdenv, fetchurl, noSysDirs, zlib, cross ? null, gold ? true, bison ? null, flex2535 ? null, bc ? null, dejagnu ? null }:
{ stdenv, fetchurl, noSysDirs, zlib
, cross ? null, gold ? true, bison ? null, flex2535 ? null, bc ? null, dejagnu ? null
, deterministic ? false }:
let basename = "binutils-2.23.2"; in
stdenv.mkDerivation rec {
@@ -19,7 +21,7 @@ stdenv.mkDerivation rec {
# That requires upstream changes for things to work. So we can patch it to
# get the old behaviour by now.
./dtneeded.patch
];
] ++ (stdenv.lib.optional deterministic ./deterministic.patch);
buildInputs =
[ zlib ]
@@ -48,7 +50,8 @@ stdenv.mkDerivation rec {
+ stdenv.lib.optionalString (stdenv.system == "mips64el-linux")
" --enable-fix-loongson2f-nop"
+ stdenv.lib.optionalString (cross != null) " --target=${cross.config}"
+ stdenv.lib.optionalString gold " --enable-gold";
+ stdenv.lib.optionalString gold " --enable-gold"
+ stdenv.lib.optionalString deterministic " --enable-deterministic-archives";
enableParallelBuilding = true;