binutils: drop Darwin hack

Darwin no longer uses GNU binutils and prevents it from being used in the bootstrap. This hack is no longer necessary.
This commit is contained in:
Randy Eckenrode 2024-07-01 18:11:10 -04:00
parent 78da51cdb0
commit 7f1bc0d5c1
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -58,10 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
pname = targetPrefix + "binutils";
inherit version;
# HACK: Ensure that we preserve source from bootstrap binutils to not rebuild LLVM
src = stdenv.__bootPackages.binutils-unwrapped.src
or srcs.${targetPlatform.system}
or srcs.normal;
src = srcs.${targetPlatform.system} or srcs.normal;
# WARN: this package is used for bootstrapping fetchurl, and thus cannot use
# fetchpatch! All mutable patches (generated by GitHub or cgit) that are