prevent usage of binutils on darwin
This commit is contained in:
parent
2857418659
commit
a232a2d2c5
|
@ -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; };
|
||||||
|
|
|
@ -3769,7 +3769,9 @@ 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
|
||||||
|
then stdenv.gcc.binutils
|
||||||
|
else callPackage ../development/tools/misc/binutils {
|
||||||
inherit noSysDirs;
|
inherit noSysDirs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue