github-runner: work around darwin testfailures by disabling sandbox

The github-runner tests fail when executed in a sandbox, even with
`__darwinAllowLocalNetworking`.
While `sandbox = false` is still the default under darwin, `sandbox =
relaxed` becomes more popular. For that mode, `__noChroot` serves as a
marker to still disable the sandbox for that derivation.
This commit is contained in:
Oliver Schmidt
2026-04-07 11:28:04 +02:00
parent 8fd3b75380
commit 012d0dcd6e
@@ -157,7 +157,9 @@ buildDotnetModule (finalAttrs: {
doCheck = true;
# tests fail with sandboxing under darwin
__darwinAllowLocalNetworking = true;
__noChroot = true;
# Fully qualified name of disabled tests
disabledTests = [