Skip to content

Add native Nix CI builds for Linux and macOS - #557

Open
nbareil wants to merge 3 commits into
trailofbits:mainfrom
nbareil:ci/nix-build
Open

nbareil wants to merge 3 commits into
trailofbits:mainfrom
nbareil:ci/nix-build

Conversation

@nbareil

@nbareil nbareil commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Following #539, add native Nix package builds to CI on Linux x86_64 and Apple Silicon macOS. Each job enables sandboxing, verifies the runner's Nix system, and builds .#coop with the committed lock file, including workspace unit tests and installation checks.

Provide rsync and Nix-store tools for existing test fixtures, and select BSD utilities for the macOS ACL fixture. Two additional sudo-dependent tests are excluded only from the Linux Nix sandbox; ordinary Cargo CI continues to run them.

@hbrodin

hbrodin commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Thanks for contributing the Linux and macOS Nix CI checks. Could you add permissions: {} to the new nix job? The build uses public inputs and should not need the workflow’s inherited contents: read permission. Please confirm both matrix jobs still pass after the change.

I’m continuing to review the PR and will follow up if anything else comes up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants