rsync: skip sandbox-incompatible Darwin tests

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
This commit is contained in:
Gerhard Schwanzer
2026-08-24 09:41:44 +02:00
parent 7c1c567019
commit a1c97969d9

View File

@@ -126,6 +126,12 @@ stdenv.mkDerivation (finalAttrs: {
"variety-symlink-traversal"
"variety"
]
# The Darwin sandbox drops set-id bits, and Python's os.getgroups()
# reports account groups that may not be usable by this process.
++ lib.optionals stdenv.hostPlatform.isDarwin [
"chmod-setid"
"daemon-groupmap-wild"
]
# This test assumes that every Linux libc provides glibc malloc stats.
++ lib.optional stdenv.hostPlatform.isMusl "misc-coverage"
# These require a native compiler and dynamic interposition.