Repository navigation
Describe the separate parts of the nixpkgs stack and source selections - #83
Merged
Merged
Conversation
…ections Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… list A flake that lists a project builds the lib of that project and fetches its library source. The page recommends the mirror for such projects, gives the sizes, and describes the difference between the revision of the mirror and the revision of a package set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The nixpkgs integration takes lib.maintainers and lib.teams from the source of the package set, so the section drops the advice to build packages in a separate tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Docs for nix-caisson/caisson#128 and nix-caisson/caisson-core#53.
concepts/ecosystem-sources.md: states the three parts of a nixpkgs checkout. Those are the library (nixpkgs-lib), the package set (nixpkgs) and the NixOS module collection (nixos), each resolved from its own key with no fallback between keys. The page has an example of one checkout named under all three keys and an example of a stable package config. The table of integrations shows NixOS, nixos-minimal and system-manager's NixOS modules readingnixos. A new section recommends the nixpkgs.lib mirror as the library source of a project that other flakes list. A flake that lists a project fetches the library source of that project. The section gives the sizes and describes how the revision of the mirror differs from the revision of a package set. It also says that a package set takeslib.maintainersandlib.teamsfrom its own source, as Resolve each part of the nixpkgs stack from its own key, selected from the sources caisson#128 does.reference/lib.md:defaultEcosystemSrconmkLibandecosystemSrcon everymkConfigurationare functions ofsources, and values are refused. A newselectedEcosystemSrcentry is added, andresolveEcosystemSrcapplies it.getting-started.md,deep-dives/how-lib-is-composed.md,faq.md: the examples use the function forms and thenixoskey.Existing headings and anchors are unchanged. Three headings are added: "The three parts of a nixpkgs checkout", "The library of a project that other flakes list" and
selectedEcosystemSrc.mdbook buildpasses.🤖 Generated with Claude Code