-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
gemini-cli fails to build with recent nixpkgs-unstable (e.g. when consumers use inputs.nixpkgs.follows = "nixpkgs" ).
nixpkgs updated default to nodejs 24 (npm 11), which changed cache validation semantics. npmDepsHash computed with npm 10 fails lookup with npm 11:
npm error code ENOTCACHED
npm error request to https://registry.npmjs.org/string-width failed: cache mode is 'only-if-cached' but no cached response is available.Upstream issue:
Upstream fix for nixpkgs' gemini-cli: NixOS/nixpkgs@73771ab
Probably the fix here is to either pin nodejs = nodejs_22; in the buildNpmPackage attrs of packages/gemini-cli/package.nix or, alternatively, regenerate npmDepsHash with nodejs 24 if the npm 11 upgrade were somehow preferred.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working