Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: gemini-cli 0.47.0 -> 0.54.0 https://github.com/google-gemini/gemini-cli/releases attrpath: gemini-cli Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/zn6ndk6m9jraas60sn0jjjiff54riv1z-packages.json.drv building '/nix/store/zn6ndk6m9jraas60sn0jjjiff54riv1z-packages.json.drv'... Going to be running update for following packages: - gemini-cli-0.47.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - gemini-cli-0.47.0: UPDATING ... - gemini-cli-0.47.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ge/gemini-cli/package.nix b/pkgs/by-name/ge/gemini-cli/package.nix index 1e8c4a420024..2f11814a03f7 100644 --- a/pkgs/by-name/ge/gemini-cli/package.nix +++ b/pkgs/by-name/ge/gemini-cli/package.nix @@ -15,18 +15,18 @@ buildNpmPackage (finalAttrs: { pname = "gemini-cli"; - version = "0.47.0"; + version = "0.54.0"; src = fetchFromGitHub { owner = "google-gemini"; repo = "gemini-cli"; tag = "v${finalAttrs.version}"; - hash = "sha256-pabav4ehssc3oQFuF4MgnSG7Ql1r5Y6n+ZzYbgh5tz8="; + hash = "sha256-4Fe02et/CAdKy/VYlgPUin03ofJm3MRJQ7vgv40dwFQ="; }; nodejs = nodejs_22; - npmDepsHash = "sha256-Df1EVzKYWo5o2cvP3kFGcNKEuDu3fZno4OTKBe37IK8="; + npmDepsHash = "sha256-O682pg5pP5l6d33XT2Bj0gGZxHJ1YBnvdprRDy4dnEc="; dontPatchElf = stdenv.hostPlatform.isDarwin; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A gemini-cli nix build failed. npm warn Could not resolve dependency: npm warn peer typescript@">=4.8.4 <5.9.0" from @typescript-eslint/parser@8.31.1 npm warn packages/vscode-ide-companion/node_modules/@typescript-eslint/parser npm warn peer @typescript-eslint/parser@"^8.0.0 || ^8.0.0-alpha.0" from @typescript-eslint/eslint-plugin@8.31.1 npm warn packages/vscode-ide-companion/node_modules/@typescript-eslint/eslint-plugin npm warn 1 more (gemini-cli-vscode-ide-companion) npm warn ERESOLVE overriding peer dependency npm warn While resolving: gemini-cli-vscode-ide-companion@0.54.0 npm warn Found: typescript@5.9.3 npm warn packages/vscode-ide-companion/node_modules/typescript npm warn npm warn Could not resolve dependency: npm warn peer typescript@">=4.8.4 <5.9.0" from @typescript-eslint/parser@8.31.1 npm warn packages/vscode-ide-companion/node_modules/@typescript-eslint/parser npm warn peer @typescript-eslint/parser@"^8.0.0 || ^8.0.0-alpha.0" from @typescript-eslint/eslint-plugin@8.31.1 npm warn packages/vscode-ide-companion/node_modules/@typescript-eslint/eslint-plugin npm warn 1 more (gemini-cli-vscode-ide-companion) npm error code ENOTCACHED npm error request to https://registry.npmjs.org/tar failed: cache mode is 'only-if-cached' but no cached response is available. npm error Log files were not written due to an error writing to the directory: /nix/store/nsn4vr2gpk6ra4w769whjzmx6adaf27a-gemini-cli-0.54.0-npm-deps/_logs npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal ERROR: npm failed to install dependencies Here are a few things you can try, depending on the error: 1. Set `npmDepsFetcherVersion = 2` (and update `npmDepsHash`) 2. Set `makeCacheWritable = true` Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error. 3. Set `npmFlags = [ "--legacy-peer-deps" ]`