feat: update claude code

This commit is contained in:
Dominik Polakovics Polakovics 2026-03-19 14:34:39 +01:00
parent 3a4c268f01
commit 6fcc0f3812
2 changed files with 7 additions and 7 deletions

View file

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

View file

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