feat: update claude code

This commit is contained in:
Dominik Polakovics Polakovics 2026-04-18 20:17:45 +02:00
parent eec0ae6ced
commit 47e3d0b55f
2 changed files with 7 additions and 7 deletions

View file

@ -1,11 +1,11 @@
{ lib, pkgs, runCommand, claude-code }: { lib, pkgs, runCommand, claude-code }:
let let
version = "2.1.75"; version = "2.1.111";
src = pkgs.fetchzip { src = pkgs.fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz"; url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
hash = "sha256-EgwxqiCl7c8PoRYyHDvcgvK8txDd0XJeZD1vybZyp4E="; hash = "sha256-K3qhZXVJ2DIKv7YL9f/CHkuUYnK0lkIR1wjEa+xeSCk=";
}; };
# Create a modified source with our package-lock.json # Create a modified source with our package-lock.json
@ -22,7 +22,7 @@ in
npmDeps = pkgs.fetchNpmDeps { npmDeps = pkgs.fetchNpmDeps {
src = srcWithLock; src = srcWithLock;
hash = "sha256-DIyV2ZyrEI+iCOb4VcKbdd6NWyFqRUpH/rKv/HvCcG8="; hash = "sha256-EFh1nVImvToqY+scUcodg50emRpF6Rzi+AJNPi59AVY=";
}; };
# Remove the old postPatch since srcWithLock already includes package-lock.json # Remove the old postPatch since srcWithLock already includes package-lock.json

View file

@ -5,13 +5,13 @@
"packages": { "packages": {
"": { "": {
"dependencies": { "dependencies": {
"@anthropic-ai/claude-code": "^2.1.75" "@anthropic-ai/claude-code": "^2.1.111"
} }
}, },
"node_modules/@anthropic-ai/claude-code": { "node_modules/@anthropic-ai/claude-code": {
"version": "2.1.75", "version": "2.1.111",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.75.tgz", "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.111.tgz",
"integrity": "sha512-K5xwpR53WfZcKXhQedgoxcRbi6arH7S9YrhVXifA3klZ/5L4zcv+wENzITISygm1MwbxX5w2c2N1Qd/oUSY42w==", "integrity": "sha512-zNZcINqvtMpDM4lZqnOZcrou57k9rUBfCZziH47nMG9FNks7I6azN7+SMU3zhwqBwYrvx6o4i7Ecu7mDCi0AmA==",
"license": "SEE LICENSE IN README.md", "license": "SEE LICENSE IN README.md",
"bin": { "bin": {
"claude": "cli.js" "claude": "cli.js"