Repository navigation
flake: bump nixpkgs to 44a9189 (cached nodejs-slim 26.9.0) - #10
Merged
Merged
Conversation
The previous lock (e554fab) landed on a nixpkgs where nodejs-slim 26.9.0 failed to build on Hydra (NixOS/nixpkgs#564449: node's own test-fs-cp-async-file-modes.mjs fails on a chmod in the build sandbox), so it was never pushed to cache.nixos.org. vue-language-server pulls node 26 in via `pnpm_11.override { nodejs-slim = nodejs-slim_latest; }`, which put a ~2h source build of V8 on the critical path of every CI job — and the aarch64 runner then hit the same test failure and went red. Hydra has since built nodejs-slim 26.9.0 green on both x86_64-linux and aarch64-linux. Verified against cache.nixos.org before committing: at 44a9189 the full closures of vue-language-server (63 paths) and neovim-unwrapped (24 paths) substitute completely on both architectures, and stdenv is byte-identical to e554fab, so nothing rebuilds. Only the top-level nixpkgs input moved; nur's own nixpkgs pin is unrelated to this failure and is left alone. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K9nRfg2hbmJ14xHkv3h3yY
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.
Fixes the CI failure on run 35408450363.
What broke
The lock at
ab519a8landed on a nixpkgs (e554fab) wherenodejs-slim26.9.0 failed to build on Hydra — node's owntest-fs-cp-async-file-modes.mjstrips on achmodinside the build sandbox (NixOS/nixpkgs#564449). Because it failed upstream, it was never pushed tocache.nixos.org.Node 26 is in the closure via one LSP:
nixpkgs'
vue-language-serverdoespnpm_11.override { nodejs-slim = nodejs-slim_latest; }, so it pulls node 26 even though the nixpkgs default is still node 24. That put a from-source V8 build on the critical path of every CI job: the aarch64 runner reached the test phase and went red, and x86_64 was cancelled at 87 minutes still compiling.What this changes
nixpkgsonly:e554fab(Sep 17) →44a9189(Sep 20, currentnixos-unstable). Three lines inflake.lock. Hydra has since builtnodejs-slim26.9.0 green on both architectures.nur's own nixpkgs pin is unrelated to this failure and is left alone.Verification
Store paths evaluated locally and checked against
cache.nixos.orgbefore pushing:e554fab44a9189nodejs-slim_26x86_64nodejs-slim_26aarch64vue-language-serverx86_64vue-language-serveraarch64The old-rev aarch64 path (
0pnrss6n3aspfki7hglgiillsrwwfc7f-nodejs-slim-26.9.0) matches the failing path in the job log exactly, confirming the local evaluation reproduces CI's derivations.Also checked:
cache.nixos.orgat the new rev —vue-language-server(63 paths) andneovim-unwrapped(24 paths), both architectures.stdenvis byte-identical between the two revisions, so nothing rebuilds.Note for later
The upstream test fix is merged (nodejs/node#66104,
92395e7, Sep 20) but is not in a release yet — 26.9.0 is still the newest. If a nixpkgs change invalidates the node derivation before the next 26.x ships, the unfixed source could flake again. The escape hatch isvue-language-server.override { nodejs-slim_latest = nodejs-slim; }, which drops the closure back to the always-cached node 24.🤖 Generated with Claude Code
https://claude.ai/code/session_01K9nRfg2hbmJ14xHkv3h3yY
Generated by Claude Code