darwin.removefile: drop workaround for older Clang versions

This commit is contained in:
Randy Eckenrode
2025-10-09 18:23:28 -04:00
parent 0ba2bde18f
commit 8010c610db
@@ -39,13 +39,6 @@ mkAppleDerivation {
xcodeHash = "sha256-pE92mVI0KTHOVKBA4T5R1rHy5//uipOimas7DaTVe0U=";
postPatch = ''
# Disable experimental bounds safety stuff thats not available in LLVM 16.
substituteInPlace removefile.h \
--replace-fail '__ptrcheck_abi_assume_single()' "" \
--replace-fail '__unsafe_indexable' ""
'';
env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include";
meta.description = "Darwin file removing library";