Build the standard environment packages from the stable Nixpkgs - #98
Merged
Conversation
thomasjm
force-pushed
the
stable-nixpkgs-for-standard-packages
branch
from
August 27, 2026 10:14
b3f6441 to
0e69992
Compare
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.
The Bash kernel, both spellchecker language servers, and the two
testingpackages were all builtfrom
pkgsMaster. Each one forces the master Nixpkgs tree to be fetched and realised, which costs466 MB and ~90k filesystem entries in every sandboxed package store that evaluates them.
None of them needed master:
testing.builds-forever/testing.builder-uidtake onlyrunCommand. (Their module versionsalready used
config.pkgs; only the top-level attrs incodedown.nixwere on master.)nodehun,nodejs-slim,hunspell,hunspellDictsandunixtools, allpresent in stable. Fixed in both places that build them: the top-level
spellcheckerattr thatpackageSearchincludes, and the module that environments resolvelanguage-servers.spellcheckerto.bash_kernel's test suite failed on macOS onrelease-25.05. Stable is now release-25.11 and it builds cleanly there, so it goes back to
config.pkgsand the stale note about the workaround comes out.With these, the whole standard package set --
kernels.bash,kernels.python3,language-servers.spellchecker,shells.bash,shells.zsh-- no longer touches master.Testing
Evaluated every affected package with
pkgsMaster = throw "MASTER FORCED", so any remainingreference fails loudly; all come back clean, including the standard package set as a whole.
Built on both platforms:
kernels.bashonx86_64-linuxand onaarch64-darwin(bash_kernel-0.10.0throughpythonImportsCheckPhase)initializeover stdio with its capabilities, so thenodehunnative module loads./.aliases/dev-verify-default-nixpasses.Related
The pypy3 kernel work that was originally on this branch is now #100, and the pylint test flake is
#99. Both are independent of this change.
Note that
nix flake checkfails onmaintoday, onlspProbeEnvs, for a reason unrelated to thisPR; #100 is what fixes that.