Skip to content

gemini-cli: 0.23.0 -> 0.25.2#484014

Merged
ulrikstrid merged 2 commits intoNixOS:masterfrom
taranarmo:gemini-cli-0.25.2
Jan 30, 2026
Merged

gemini-cli: 0.23.0 -> 0.25.2#484014
ulrikstrid merged 2 commits intoNixOS:masterfrom
taranarmo:gemini-cli-0.25.2

Conversation

@taranarmo
Copy link
Contributor

@taranarmo taranarmo commented Jan 26, 2026

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Jan 26, 2026
@DieracDelta
Copy link
Member

srcbot: Full Evaluation Results for PR #484014 (base: c5296fdd, head: 4e08c4b5)

Command
target/release/srcbot verify \
  --full-eval \
  --prs 484014 \
  --nixpkgs /home/jrestivo/dev/nixpkgs \
  --remote-builder [email protected] \
  --remote-system aarch64-linux \
  --remote-build-jobs 2 \
  --build-jobs 2 \
  --eval-workers 1 \
  --false-positive \
  --verify-full-drvs \
  --save-location /srv/srcbot \
  --log-base-url https://nixos-arm.tail5ca7.ts.net/srcbot-srv/ \
  --remote-gc-threshold 180G \
  --remote-gc-keep-days 1

Status: 6/6 packages passed, 0 failed across 2 architectures

x86_64-linux (local)

3 packages passed
Package Steps Built
gemini-cli src, npmDeps, package
nixpkgs-manual package
vscode-extensions.Google.gemini-cli-vscode-ide-companion src, package

aarch64-linux (remote: [email protected])

3 packages passed
Package Steps Built
gemini-cli src, npmDeps, package
nixpkgs-manual package
vscode-extensions.Google.gemini-cli-vscode-ide-companion src, package

Copy link
Member

@DieracDelta DieracDelta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 26, 2026
@taranarmo
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 484014
Commit: 4e08c4b544c5ce7d90353c1d72b4a60a7e5c8284 (subsequent changes)
Merge: fdb44261dc8947697619ff75f8586b7fc1bca158

Logs: https://github.com/taranarmo/nixpkgs-review-gha/actions/runs/21361787792


x86_64-linux

✅ 2 packages built:
  • gemini-cli
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

aarch64-linux

✅ 2 packages built:
  • gemini-cli
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

x86_64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • gemini-cli
✅ 1 package built:
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

Error logs: `x86_64-darwin`
gemini-cli
changed 2 packages, and audited 757 packages in 10s

184 packages are looking for funding
run npm fund for details

found 0 vulnerabilities
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
checking for references to /nix/build/nix-5678-2878964939/ in /nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2...
_: line 2: patchelf: command not found
_: line 2: patchelf: command not found
_: line 2: patchelf: command not found
patching script interpreter paths in /nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2
/nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli/dist/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/2jw64xbn385nrg0dkinyxy1dk57zib21-nodejs-22.22.0/bin/node"
/nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-core/node_modules/mime/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/2jw64xbn385nrg0dkinyxy1dk57zib21-nodejs-22.22.0/bin/node"
/nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-core/node_modules/mime/src/mime_cli.ts: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/2jw64xbn385nrg0dkinyxy1dk57zib21-nodejs-22.22.0/bin/node"
/nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-core/node_modules/uuid/dist-node/bin/uuid: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/2jw64xbn385nrg0dkinyxy1dk57zib21-nodejs-22.22.0/bin/node"
/nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-a2a-server/node_modules/uuid/dist-node/bin/uuid: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/2jw64xbn385nrg0dkinyxy1dk57zib21-nodejs-22.22.0/bin/node"
making symlink relative: /nix/store/0660bv6w4gafbg3mpgxiw7yi74kcp3gl-gemini-cli-0.25.2/bin/gemini
fixupPhase completed in 1 minutes 55 seconds


aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • gemini-cli
✅ 1 package built:
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

Error logs: `aarch64-darwin`
gemini-cli
184 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
installPhase completed in 40 seconds
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
checking for references to /nix/build/nix-4730-2289780816/ in /nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2...
_: line 2: patchelf: command not found
_: line 2: patchelf: command not found
_: line 2: patchelf: command not found
patching script interpreter paths in /nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2
/nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli/dist/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/zphm4748w514z6p9g073f673sjl338gm-nodejs-22.22.0/bin/node"
/nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-core/node_modules/mime/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/zphm4748w514z6p9g073f673sjl338gm-nodejs-22.22.0/bin/node"
/nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-core/node_modules/mime/src/mime_cli.ts: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/zphm4748w514z6p9g073f673sjl338gm-nodejs-22.22.0/bin/node"
/nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-core/node_modules/uuid/dist-node/bin/uuid: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/zphm4748w514z6p9g073f673sjl338gm-nodejs-22.22.0/bin/node"
/nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2/share/gemini-cli/node_modules/@google/gemini-cli-a2a-server/node_modules/uuid/dist-node/bin/uuid: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/zphm4748w514z6p9g073f673sjl338gm-nodejs-22.22.0/bin/node"
making symlink relative: /nix/store/nlplir3fw1ifchb699ma20vla9y4zxb7-gemini-cli-0.25.2/bin/gemini
fixupPhase completed in 58 seconds

@FlameFlag

This comment was marked as duplicate.

@FlameFlag

This comment was marked as duplicate.

@taranarmo
Copy link
Contributor Author

Unfortunately I don't have Darwin to test thus help is welcomed

@FlameFlag
Copy link
Member

I'll take a look later today

@FlameFlag
Copy link
Member

@taranarmo this diff fixes it

diff --git a/pkgs/by-name/ge/gemini-cli/package.nix b/pkgs/by-name/ge/gemini-cli/package.nix
index 589b16e926..72bbca938e 100644
--- a/pkgs/by-name/ge/gemini-cli/package.nix
+++ b/pkgs/by-name/ge/gemini-cli/package.nix
@@ -27,6 +27,8 @@
 
   npmDepsHash = "sha256-4peAAxCws5IjWaiNwkRBiaL+n1fE+zsK0qbk1owueeY=";
 
+  dontPatchElf = true;
+
   nativeBuildInputs = [
     jq
     pkg-config
@@ -80,6 +82,9 @@
 
     # Remove python files to prevent python from getting into the closure
     find node_modules -name "*.py" -delete
+    # keytar/build has gyp-mac-tool with a Python shebang that gets patched,
+    # creating a python3 reference in the closure
+    rm -rf node_modules/keytar/build
 
     cp -r node_modules $out/share/gemini-cli/
 

@taranarmo
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 484014
Commit: 4e3cda28d16720a59e6bb2f3a06ba407010ff208 (subsequent changes)
Merge: eecab60c33341f43876343ec7b03b7e998cb882f

Logs: https://github.com/taranarmo/nixpkgs-review-gha/actions/runs/21402987030


x86_64-linux

✅ 2 packages built:
  • gemini-cli
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

aarch64-linux

✅ 2 packages built:
  • gemini-cli
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

x86_64-darwin (sandbox = relaxed)

✅ 2 packages built:
  • gemini-cli
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

aarch64-darwin (sandbox = relaxed)

✅ 2 packages built:
  • gemini-cli
  • vscode-extensions.Google.gemini-cli-vscode-ide-companion

@DieracDelta
Copy link
Member

srcbot: Full Evaluation Results for PR #484014 (base: c5296fdd, head: 4e3cda28)

Command
target/release/srcbot verify \
  --full-eval \
  --prs 484014 \
  --nixpkgs /home/jrestivo/dev/nixpkgs \
  --remote-builder [email protected] \
  --remote-system aarch64-linux \
  --remote-build-jobs 2 \
  --build-jobs 2 \
  --eval-workers 1 \
  --false-positive \
  --verify-full-drvs \
  --save-location /srv/srcbot \
  --log-base-url https://nixos-arm.tail5ca7.ts.net/srcbot-srv/ \
  --remote-gc-threshold 180G \
  --remote-gc-keep-days 1

Status: 6/6 packages passed, 0 failed across 2 architectures

x86_64-linux (local)

3 packages passed
Package Steps Built
gemini-cli src, npmDeps, package
nixpkgs-manual package
vscode-extensions.Google.gemini-cli-vscode-ide-companion src, package

aarch64-linux (remote: [email protected])

3 packages passed
Package Steps Built
gemini-cli src, npmDeps, package
nixpkgs-manual package
vscode-extensions.Google.gemini-cli-vscode-ide-companion src, package

@FlameFlag

This comment was marked as duplicate.

Copy link
Member

@FlameFlag FlameFlag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically following the successful run of nixpkgs-review.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jan 27, 2026
@ljxfstorm
Copy link
Contributor

Version 0.26.0 has been released.
However, the upstream PR google-gemini/gemini-cli#14142 introduces breaking changes for the substituteInPlace block on lines 59-68.

@taranarmo
Copy link
Contributor Author

Version 0.26.0 has been released.

I'd do that in a separate PR

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Jan 30, 2026
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Jan 30, 2026
@ulrikstrid ulrikstrid added this pull request to the merge queue Jan 30, 2026
Merged via the queue into NixOS:master with commit 413a3b1 Jan 30, 2026
35 of 37 checks passed
@taranarmo taranarmo deleted the gemini-cli-0.25.2 branch February 3, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants