Skip to content

[Backport 2.33-maintenance] tests: fix sandbox-paths in cancelled-builds test#15073

Merged
internal-nix-ci[bot] merged 1 commit into2.33-maintenancefrom
backport-15071-to-2.33-maintenance
Jan 24, 2026
Merged

[Backport 2.33-maintenance] tests: fix sandbox-paths in cancelled-builds test#15073
internal-nix-ci[bot] merged 1 commit into2.33-maintenancefrom
backport-15071-to-2.33-maintenance

Conversation

@internal-nix-ci
Copy link

Automatic backport to 2.33-maintenance, triggered by a label in #15071.

Don't add the whole store to sandbox-paths unconditionally. Exposing
the entire store defeats the purpose of sandboxing, and when the test
store is the same as the system store (NixOS VM), it causes an obscure
"Permission denied" error.

Only add sandbox-paths when not on NixOS, indicating a separate test
store that needs access to system store build tools.

(cherry picked from commit 7b4444f)
@internal-nix-ci internal-nix-ci bot requested a review from edolstra as a code owner January 24, 2026 20:26
@internal-nix-ci internal-nix-ci bot enabled auto-merge January 24, 2026 20:26
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Jan 24, 2026
@internal-nix-ci internal-nix-ci bot merged commit a7276a2 into 2.33-maintenance Jan 24, 2026
19 checks passed
@internal-nix-ci internal-nix-ci bot deleted the backport-15071-to-2.33-maintenance branch January 24, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant