darwin.removefile: drop workaround for older Clang versions
This commit is contained in:
@@ -39,13 +39,6 @@ mkAppleDerivation {
|
||||
|
||||
xcodeHash = "sha256-pE92mVI0KTHOVKBA4T5R1rHy5//uipOimas7DaTVe0U=";
|
||||
|
||||
postPatch = ''
|
||||
# Disable experimental bounds safety stuff that’s 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";
|
||||
|
||||
Reference in New Issue
Block a user