Repository navigation
Read the dependencies of a tree from the closure lib - #144
Merged
Merged
Conversation
caisson-core passes the pinned trees to mkLib as `dependencies` and a
registered file reads them through its closure lib. `lib.caisson.dependencies`
is the view of `lib.caisson-core.libManifest.dependencies`, and the pin
readers return `{ dependencies, root }`. A package file built by
mkPackagesOverlay receives `{ callPackage, lib }` and reads the
dependencies from `lib`. caisson-core is pinned at its
refactor/dependencies branch in both locks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
caisson-core#59 is merged; this pins its merge commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/nixpkgs-rust
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/merman-nix
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/rea-nix
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/nbd-nix
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/flake-sync
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/ch-zsh-config
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/ch-microvm
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/ch-emacs-config
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/uefi-shell-launcher
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/edk2-platforms-nix
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 7, 2026
clhodapp
added a commit
to clhodapp/big-console
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 7, 2026
clhodapp
added a commit
to clhodapp/ch-ai-workbench
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 7, 2026
clhodapp
added a commit
to clhodapp/ch-emacs-config
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/ch-ai-workbench
that referenced
this pull request
Nov 7, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clhodapp
added a commit
to clhodapp/ch-ai-workbench
that referenced
this pull request
Nov 8, 2026
caisson passes the pinned trees to mkLib as `dependencies`, and a registered file reads them as `closure-lib.caisson.dependencies` (nix-caisson/caisson-core#59, nix-caisson/caisson#144). 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.
nix-caisson/caisson-core#59 names the pinned trees of a tree
dependenciesand takes the closure argument out of what registered files receive. This pull request moves caisson onto that and pins caisson-core at that pull request's commit in bothflake.lockandtests/dependencies/flake.lock.lib.caisson.dependenciesis a view oflib.caisson-core.libManifest.dependencies. A registered file reads a dependency asclosure-lib.caisson.dependencies.<name>.lib.caisson.pins(pins.flake,pins.flake-compatandpins.npins) returndependenciesbesideroot, so a flake top writesinherit (caisson.lib.caisson.pins.flake inputs) dependencies root;.dependencies, and the ecosystem account recordsfrom = "dependencies"for a source found among them.mkPackagesOverlayreceives{ callPackage, lib }, and a polyfill overlay function receives{ lib }. Both read dependencies fromlib.closure-lib.Every check of
checks.x86_64-linuxevaluates. Every check except the VM tests (activation-vm,hjem-systemand the twosystem-manager-vm-*checks) also builds locally.🤖 Generated with Claude Code