pi-coding-agent: remove koffi removal (it has been removed upstream) (#527836)

This commit is contained in:
Colin
2026-06-07 23:17:49 +00:00
committed by GitHub
@@ -71,8 +71,6 @@ buildNpmPackage (finalAttrs: {
+ lib.optionalString stdenvNoCC.hostPlatform.isDarwin ''
# Remove foreign Linux binaries that make audit-tmpdir try to inspect ELF
# RPATHs with patchelf
find "$nm/koffi/build/koffi" -mindepth 1 -maxdepth 1 -type d \
! -name 'darwin_*' -exec rm -r {} +
rm -rf \
"$nm/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp" \
"$nm/@anthropic-ai/sandbox-runtime/vendor/seccomp"