From 012d0dcd6eaaecb93935c12173d1a90a9af593ce Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Tue, 7 Apr 2026 11:28:04 +0200 Subject: [PATCH] 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. --- pkgs/by-name/gi/github-runner/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/gi/github-runner/package.nix b/pkgs/by-name/gi/github-runner/package.nix index 0a4359831e57..dbb64c1406c4 100644 --- a/pkgs/by-name/gi/github-runner/package.nix +++ b/pkgs/by-name/gi/github-runner/package.nix @@ -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 = [