stdenv/darwin/make-bootstrap-tools.nix: use darwin.binutils-unwrapped

After https://github.com/NixOS/nixpkgs/pull/322388, darwin.cctools is just Apple’s cctools again. The replacement for what the bootstrap tools wants is darwin.binutils-unwrapped.
This commit is contained in:
Randy Eckenrode
2024-07-04 10:45:08 -04:00
parent 8f211a930f
commit 75504615ad
+1 -3
View File
@@ -40,8 +40,6 @@ rec {
NIX_LDFLAGS = (oa.NIX_LDFLAGS or "") + " -headerpad_max_install_names";
});
cctools_ = darwin.cctools;
# Avoid messing with libkrb5 and libnghttp2.
curl_ = curlMinimal.override (args: {
gssSupport = false;
@@ -112,7 +110,7 @@ rec {
# Copy binutils.
for i in as ld ar ranlib nm strip otool install_name_tool lipo codesign_allocate; do
cp ${getBin cctools_}/bin/$i $out/bin
cp ${getBin darwin.binutils-unwrapped}/bin/$i $out/bin
done
# Copy coreutils, bash, etc.