You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mkRustProject: per-test exclusion seam for tests the Nix sandbox cannot run (PTY, signals, process groups) #1834
mkRustProject's nextest and doctest checks run inside the Nix build sandbox. Some test suites cannot run there: tests that need a PTY, process groups or signals (CLI wrappers, supervisors), plus anything that touches the network or $HOME. On darwin the sandbox is stricter still. Today a consumer has two choices: switch the whole check off (nextest = false), which also stops nix flake check from running every test that would work, or patch it through craneArgs. That route is undocumented, and it leaves the excluded tests with no home at all.
A nextestExtraArgs / sandboxExcludes seam on mkRustProject: a list of nextest filter expressions (e.g. test(pty_), binary(supervisor)) that the sandboxed checks.nextest skips.
Activity
test(nix): mkRustProject sandboxExcludes keeps tests out of the nexte…
feat(nix): add sandboxExcludes to mkRustProject's nextest check
feat(nix): add sandboxExcludes to mkRustProject's nextest check (#1836)
docs: point Rust adopters at the Rust pack instead of a bare compiler (…
chore: release 1.19.0 (#2033)