From a1c97969d9b236e4f847c4ce51fbbc8adfa31ac8 Mon Sep 17 00:00:00 2001 From: Gerhard Schwanzer Date: Mon, 24 Aug 2026 09:41:44 +0200 Subject: [PATCH] rsync: skip sandbox-incompatible Darwin tests Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol) --- pkgs/by-name/rs/rsync/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/rs/rsync/package.nix b/pkgs/by-name/rs/rsync/package.nix index 4ca9e45f4258..9f94ca51fcc8 100644 --- a/pkgs/by-name/rs/rsync/package.nix +++ b/pkgs/by-name/rs/rsync/package.nix @@ -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.