forked from mirrors/nixpkgs
Merge pull request #3465 from joelteon/picky-binutils
Stop binutils from trying to build on Darwin
This commit is contained in:
commit
d81303813a
|
@ -2,6 +2,8 @@
|
||||||
, cross ? null, gold ? true, bison ? null
|
, cross ? null, gold ? true, bison ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
assert !stdenv.isDarwin;
|
||||||
|
|
||||||
let basename = "binutils-2.23.1"; in
|
let basename = "binutils-2.23.1"; in
|
||||||
|
|
||||||
with { inherit (stdenv.lib) optional optionals optionalString; };
|
with { inherit (stdenv.lib) optional optionals optionalString; };
|
||||||
|
|
|
@ -3917,9 +3917,11 @@ let
|
||||||
|
|
||||||
bam = callPackage ../development/tools/build-managers/bam {};
|
bam = callPackage ../development/tools/build-managers/bam {};
|
||||||
|
|
||||||
binutils = callPackage ../development/tools/misc/binutils {
|
binutils = if stdenv.isDarwin
|
||||||
inherit noSysDirs;
|
then stdenv.gcc.binutils
|
||||||
};
|
else callPackage ../development/tools/misc/binutils {
|
||||||
|
inherit noSysDirs;
|
||||||
|
};
|
||||||
|
|
||||||
binutils_nogold = lowPrio (callPackage ../development/tools/misc/binutils {
|
binutils_nogold = lowPrio (callPackage ../development/tools/misc/binutils {
|
||||||
inherit noSysDirs;
|
inherit noSysDirs;
|
||||||
|
|
Loading…
Reference in a new issue