Skip to content

Add --out-link and --print-out-paths to nix flake check#15476

Open
lisanna-dettwyler wants to merge 2 commits intoNixOS:masterfrom
lisanna-dettwyler:flake-check-flags-from-build
Open

Add --out-link and --print-out-paths to nix flake check#15476
lisanna-dettwyler wants to merge 2 commits intoNixOS:masterfrom
lisanna-dettwyler:flake-check-flags-from-build

Conversation

@lisanna-dettwyler
Copy link
Copy Markdown
Contributor

@lisanna-dettwyler lisanna-dettwyler commented Mar 15, 2026

  • Support --out-link in nix flake check, retaining current default of not creating them
  • Support --print-out-paths in nix flake check

These are in the same PR because they share underlying logic changes to support both of them.

Motivation

Out links for flake checks enable easier CI caching and avoidance of garbage collection, and printing output paths was requested by a user in the matrix chat. It's also good to have consistent flag support across the different commands.

Context

Resolves #13470


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@github-actions github-actions Bot added documentation new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority labels Mar 15, 2026
Related to: NixOS#13470

Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
Related to: NixOS#13470

Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
@lisanna-dettwyler lisanna-dettwyler force-pushed the flake-check-flags-from-build branch from 23db72f to a28e438 Compare March 15, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation new-cli Relating to the "nix" command 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.

nix builds lack of recursion into attrs, and nix flake check's lack of output links make for a CI gap

1 participant