From 10290acefb654fe899167702ce6d2f9a84cdba72 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 11 Sep 2025 09:02:50 +0200 Subject: [PATCH 1/3] feat(m4): add gemini-cli to default packages - Included `gemini-cli` to the list of default packages for `aarch64-darwin` platform. - Ensures availability of the `gemini-cli` tool for users by default. --- systems/aarch64-darwin/m4/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/systems/aarch64-darwin/m4/default.nix b/systems/aarch64-darwin/m4/default.nix index 792d425..2f80cc0 100644 --- a/systems/aarch64-darwin/m4/default.nix +++ b/systems/aarch64-darwin/m4/default.nix @@ -44,6 +44,7 @@ with lib.metacfg; goose-cli aider-chat fabric-ai + gemini-cli ]; users.users.harald.shell = pkgs.fish; From b60b80eecd1989d1fc2ab826789bf557aa3f5c10 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 11 Sep 2025 09:02:59 +0200 Subject: [PATCH 2/3] chore(claude-code): bump version to 1.0.111 - Updated `claude-code` version from 1.0.107 to 1.0.111 in `package.nix`. - Adjusted hash values for `src` and `npmDepsHash` to reflect the changes. - Ensures compatibility with the latest upstream release. --- overlays/unstable/claude-code/package-lock.json | 8 ++++---- overlays/unstable/claude-code/package.nix | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/overlays/unstable/claude-code/package-lock.json b/overlays/unstable/claude-code/package-lock.json index e58989e..c191128 100644 --- a/overlays/unstable/claude-code/package-lock.json +++ b/overlays/unstable/claude-code/package-lock.json @@ -6,13 +6,13 @@ "packages": { "": { "dependencies": { - "@anthropic-ai/claude-code": "^1.0.107" + "@anthropic-ai/claude-code": "^1.0.109" } }, "node_modules/@anthropic-ai/claude-code": { - "version": "1.0.107", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.107.tgz", - "integrity": "sha512-YYbOLIZF6aIwUeLa9Yg2gsHggBC5IWJwsA3B0wpl1z412yIgjp2CjWJ2GGLMTxCrrL5WgUe4SDmNxiAYEPP0yQ==", + "version": "1.0.109", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.109.tgz", + "integrity": "sha512-gjj76f/+M5KfI+ORA9VNVJgR7s8eyur66XCWIIO66q4poNWcszxidXo+TDTqokLLwuNV+qFGx4JkK/PDmtwqMA==", "license": "SEE LICENSE IN README.md", "bin": { "claude": "cli.js" diff --git a/overlays/unstable/claude-code/package.nix b/overlays/unstable/claude-code/package.nix index 4eb8bbb..6039dea 100644 --- a/overlays/unstable/claude-code/package.nix +++ b/overlays/unstable/claude-code/package.nix @@ -7,16 +7,16 @@ buildNpmPackage rec { pname = "claude-code"; - version = "1.0.107"; + version = "1.0.111"; nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin src = fetchzip { url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz"; - hash = "sha256-ht8MReur4K/QrEY9/MH6srQL3/8LHk8pCuSDld+LlEg="; + hash = "sha256-yA+ttxG2KH2WFeMI0YzVqgbs4kblZRkpw/owpdIqH1E="; }; - npmDepsHash = "sha256-xbxMjwVvkUmjiaklcYsrWLcb2c9qxiYWcT5eM8LN/h8="; + npmDepsHash = "sha256-jpvy7b4A+E5iI7Y7kYnwH51BZAQGVXKaf3lQjI9e3OM="; postPatch = '' cp ${./package-lock.json} package-lock.json From 700b832e76017925d4481994f27e19f1df00ebf5 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 11 Sep 2025 09:03:37 +0200 Subject: [PATCH 3/3] chore(unstable): re-enable gemini-cli in default.nix - Restored `gemini-cli` to the list of inherited packages from `channels.unstable`. - Commented out the previous explicit declaration to avoid duplication. --- overlays/unstable/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/overlays/unstable/default.nix b/overlays/unstable/default.nix index eca0ef2..ea6fa6b 100644 --- a/overlays/unstable/default.nix +++ b/overlays/unstable/default.nix @@ -1,6 +1,7 @@ { channels, ... }: final: prev: { inherit (channels.unstable) + gemini-cli # open-webui # vscode # nodejs_20 @@ -8,7 +9,7 @@ final: prev: { # goose-cli = channels.unstable.callPackage ./goose.nix { }; claude-code = channels.unstable.callPackage ./claude-code/package.nix { }; - gemini-cli = channels.unstable.callPackage ./gemini-cli/package.nix { }; + # gemini-cli = channels.unstable.callPackage ./gemini-cli/package.nix { }; # vscode-extensions = channels.unstable.vscode-extensions // { # rooveterinaryinc = { roo-cline = channels.unstable.callPackage ./roo-code.nix { }; }; # };