feat: update claude-code
This commit is contained in:
parent
d127dbd708
commit
b8527d928c
2 changed files with 87 additions and 67 deletions
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, pkgs, runCommand, claude-code }:
|
||||
|
||||
let
|
||||
version = "2.1.32";
|
||||
version = "2.1.62";
|
||||
|
||||
src = pkgs.fetchzip {
|
||||
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
|
||||
hash = "sha256-oN+Pl/SpMpI4JiU+x73Z9lNYwaz2mJpYnc4ssAG+oAo=";
|
||||
hash = "sha256-pPOmZSRq44SU5QySWNmIvUovEOg7q9lcLFyHkkngN5Y=";
|
||||
};
|
||||
|
||||
# Create a modified source with our package-lock.json
|
||||
|
|
@ -22,7 +22,7 @@ in
|
|||
|
||||
npmDeps = pkgs.fetchNpmDeps {
|
||||
src = srcWithLock;
|
||||
hash = "sha256-PhYhhu6hH1D7TwjHTOxw57V1b07xFWw+e38U9TJ6zYM=";
|
||||
hash = "sha256-MPDLDJvU734yRhLGbZ+vAkO0O6KhQvEPt6eQ8BWwGdU=";
|
||||
};
|
||||
|
||||
# Remove the old postPatch since srcWithLock already includes package-lock.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue