chore(nix): pin nixpkgs to 20b1ddd1 - #3
Merged
Merged
Conversation
The unstable input now pins nixpkgs 20b1ddd1aa5ace70c9468305030aa4f9ef79671b. The previous lock held ebc08544afa77957cc348ba72dc490ec73b87f68. The host NixOS flake uses the same revision as its nixpkgs-unstable input. The dev shell now reuses store paths that the host and other projects already hold. The flake input keeps the name unstable. Only the unstable node changed in flake.lock.
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.
Summary
This PR pins the
unstableflake input to one exact nixpkgs revision.ebc08544afa77957cc348ba72dc490ec73b87f68(2026-04-29, vianixpkgs-unstable)20b1ddd1aa5ace70c9468305030aa4f9ef79671b(2026-09-19)Why
The projects on this machine pinned 9 different nixpkgs revisions.
Each revision pulls its own copy of glibc, Node.js and other tools into
/nix/store.The root filesystem ran out of space.
The host NixOS flake uses
20b1ddd1as itsnixpkgs-unstableinput.With one shared revision, every dev shell reuses the same store paths.
Changes
flake.nix: theunstableinput URL now names the exact revision instead of thenixpkgs-unstablebranch.flake.lock: only theunstablenode changed.pre-commit-hooksfollows it. No other input moved.Tool versions in the dev shell
ebc08544)20b1ddd1)The "before" versions come from
nix evalagainst the old revision. I did not build the old shell, because that would download a second closure.Verification
nix build .#devShells.x86_64-linux.defaultsucceeded:/nix/store/f6g44p7cgx2mrbsasv0rfkyqkili13gb-nix-shell.nix develop -c bun --versionprinted1.4.2.node --versionprintedv24.20.0.bun install --frozen-lockfileinstalled 7 packages.bun run lint: 0 warnings, 0 errors on 3 files.bun run format: all 8 matched files use the correct format.nix flake check. Its oxlint and oxfmt hooks callbun runinside the Nix sandbox, wherenode_modulesdoes not exist.