Repository navigation
Wire deferred children and cross-child references, fix colmena nodes, name single outputs for their outputs - #141
Merged
Merged
Conversation
…ces; fix colmena nodes Configurations may declare deferred children: configurationsOptionsOf holds a deferred configuration as caisson-core's deferred entry, and publication skips it, since it passes nothing up at flake time. Every configuration gets caisson.forDirectChildren, and the three containers get unsafeCrossChildReferences, handed to caisson-core with the other additions. The upstream-compatible colmena integration built the nodes special argument from separate tops that inherited nothing from the colmena configuration and became per-system sets when several systems were in force. The colmena configuration now sets unsafeCrossChildReferences for its nearest NixOS configurations, and nodes are the nodes of its full evaluation. A configuration of an integration with a single output is named for that output: colmenaHive, formatter, topology. caisson-core is pinned to nix-caisson/caisson-core#57. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 26, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on nix-caisson/caisson-core#57 (pinned to its branch in both locks); implements the caisson part of section 21 of the design document except the NixOps4 integrations, which follow in a stacked pull request.
Deferred children.
configurationsOptionsOfholds a deferred configuration as caisson-core's deferred entry (deferChild), andentriesOfskips it, since a deferred child passes nothing up at flake time.New options on every configuration.
caisson.forDirectChildren(extraDefaultModuleImports,unsafeCrossChildReferences), andunsafeCrossChildReferencesoncaisson.forChildrenandcaisson.forNearestChildren, handed to caisson-core with the other additions.Colmena
nodes. The upstream-compatible colmena integration builtnodesfrom separate tops (mkTopConfiguration) that inherited nothing from the colmena configuration and became per-system sets when several systems were in force. The colmena configuration now setsforNearestChildren.unsafeCrossChildReferences.nixos, andnodesis the nodes of its full evaluation. New pinned-world probecolmenaUpstreamNodesAreTheNodes; removing the setting fails it alone.Single outputs. A configuration of an integration with a single output is named for that output:
colmenaHive(caisson-colmena, colmena),formatter(treefmt),topology. This breaks consumers that declare these underdefault; they are updated in their own pull requests.Checks: all x86_64-linux checks pass locally, the three VM tests and
eval-weightincluded.🤖 Generated with Claude Code