freshBootstrapTools.bootstrapTools: switch to llvm-readtapi

After the LLVM update, it is no longer necessary to use tapi. The
library can also be dropped because a vendored version is now used with
ld64 instead of the full dylib.
This commit is contained in:
Randy Eckenrode
2025-02-18 10:54:57 -05:00
parent 9bd398d5e9
commit 9fdd4f3a28
@@ -22,7 +22,6 @@
ld64,
libffi,
libiconv,
libtapi,
libxml2,
llvmPackages,
ncurses,
@@ -181,11 +180,10 @@ stdenv.mkDerivation (finalAttrs: {
# Copy tools needed to build the SDK
cp -d ${getBin jq}/bin/* $out/bin
cp -d ${getBin libtapi}/bin/* $out/bin
cp -d ${getBin llvmPackages.llvm}/bin/llvm-readtapi $out/bin
cp -d ${getLib jq}/lib/lib*.dylib $out/lib
cp -d ${getLib oniguruma}/lib/lib*.dylib $out/lib
cp -d ${getLib libtapi}/lib/libtapi*.dylib $out/lib
# copy sigtool
cp -d ${getBin darwin.sigtool}/bin/{codesign,sigtool} $out/bin