Skip to content

Rename the closure argument closure-inputs to closure-sources - #58

Closed
clhodapp wants to merge 1 commit into
feat/deferred-childrenfrom
refactor/closure-sources
Closed

clhodapp wants to merge 1 commit into
feat/deferred-childrenfrom
refactor/closure-sources

Conversation

@clhodapp

@clhodapp clhodapp commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

A file registered through mkLibOverlay, mkPkgOverlay or mkModule receives the sources that its flake passed to mkLib. mkLib, resolve and the pin readers all call that attribute set sources, but the closure argument that carries it was named closure-inputs. This pull request renames the closure argument to closure-sources, so one word names the attribute set everywhere.

The change breaks every registered file that names closure-inputs in its first argument list. Those files need closure-sources instead. nix-caisson/caisson#143 makes that change in caisson, and nix-caisson/nix-caisson.github.io#90 makes it in the documentation.

This pull request is stacked on #57.

🤖 Generated with Claude Code

…osure-sources

A registered overlay or module receives the sources passed to mkLib.
mkLib, resolve and the pin readers all call that attribute set
`sources`, so the closure argument now carries the same name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@clhodapp

clhodapp commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #59, which names the pinned trees dependencies and reads them from the closure lib.

@clhodapp clhodapp closed this Nov 1, 2026
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