3
0
Fork 0
forked from mirrors/nixpkgs

prevent usage of binutils on darwin

This commit is contained in:
Joel Taylor 2014-07-31 16:04:29 -07:00
parent 2857418659
commit a232a2d2c5
2 changed files with 7 additions and 3 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; };

View file

@ -3769,9 +3769,11 @@ let
bam = callPackage ../development/tools/build-managers/bam {};
binutils = callPackage ../development/tools/misc/binutils {
inherit noSysDirs;
};
binutils = if stdenv.isDarwin
then stdenv.gcc.binutils
else callPackage ../development/tools/misc/binutils {
inherit noSysDirs;
};
binutils_nogold = lowPrio (callPackage ../development/tools/misc/binutils {
inherit noSysDirs;