Skip to content

after_build: run build-finished steps once per build - #301

Open
ap-1 wants to merge 2 commits into
Mic92:mainfrom
ap-1:build-finished-steps
Open

ap-1 wants to merge 2 commits into
Mic92:mainfrom
ap-1:build-finished-steps

Conversation

@ap-1

@ap-1 ap-1 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Post-build steps run per attribute, so nothing sees the build as a whole. I'd like to keep the latest default-branch result of each attribute rooted in a remote build store, where dropping roots for removed attributes needs the full list of attributes the build evaluated. The second commit adds buildFinishedSteps, which run once per evaluated build (including reused ones) with that list on stdin as JSON.

The first commit adds the nix the pytest check uses to the dev shell, since the flake prefetch tests fail using Lix.

ap-1 added 2 commits November 17, 2026 15:12
Signed-off-by: Anish Pallati <i@anish.land>
Signed-off-by: Anish Pallati <i@anish.land>

This branch has not been deployed

No deployments
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.

1 participant