chore(claude-code): bump version to 1.0.80
- Updated `claude-code` version from 1.0.69 to 1.0.80 in `package.nix`. - Adjusted hash values for `src` and `npmDepsHash` to match the new version. - Removed redundant `--unset DEV` flag from the wrapper script.
This commit is contained in:
parent
b405c7e906
commit
31ea97a5af
2 changed files with 8 additions and 10 deletions
8
overlays/unstable/claude-code/package-lock.json
generated
8
overlays/unstable/claude-code/package-lock.json
generated
|
@ -6,13 +6,13 @@
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@anthropic-ai/claude-code": "^1.0.57"
|
"@anthropic-ai/claude-code": "^1.0.80"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@anthropic-ai/claude-code": {
|
"node_modules/@anthropic-ai/claude-code": {
|
||||||
"version": "1.0.57",
|
"version": "1.0.80",
|
||||||
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.57.tgz",
|
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.80.tgz",
|
||||||
"integrity": "sha512-zMymGZzjG+JO9iKC5N5pAy8AxyHIMPCL6U3HYCR3vCj5M+Y0s3GAMma6GkvCXWFixRN6KSZItKw3HbQiaIBYlw==",
|
"integrity": "sha512-OpJb8LZBYuQ21lmT71c65NwUKGtQiva8dyKmCIPWnRIXHDaZ/31zzpDqcxgONUKUiZrnHqoMXwEwWyPyhD0+dA==",
|
||||||
"license": "SEE LICENSE IN README.md",
|
"license": "SEE LICENSE IN README.md",
|
||||||
"bin": {
|
"bin": {
|
||||||
"claude": "cli.js"
|
"claude": "cli.js"
|
||||||
|
|
|
@ -7,16 +7,16 @@
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "claude-code";
|
pname = "claude-code";
|
||||||
version = "1.0.69";
|
version = "1.0.80";
|
||||||
|
|
||||||
nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
|
nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
|
||||||
|
|
||||||
src = fetchzip {
|
src = 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-uZbe7N3FSAVxNxL7npujJcBFH6ZjnwDz327bZWN2IEM=";
|
hash = "sha256-o7fG0LnTR7fGxq4VP5393tcQZi0JtPOF8Gb2cUAsevA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-TxKqpiPpxEfYowQswMrcWIotAdmLvHJyQ56vK39asNs=";
|
npmDepsHash = "sha256-9eVpQfcdiLyL6LWcBuVrd6XHQC5caZS9m8sNy9kaRyQ=";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cp ${./package-lock.json} package-lock.json
|
cp ${./package-lock.json} package-lock.json
|
||||||
|
@ -28,11 +28,9 @@ buildNpmPackage rec {
|
||||||
|
|
||||||
# `claude-code` tries to auto-update by default, this disables that functionality.
|
# `claude-code` tries to auto-update by default, this disables that functionality.
|
||||||
# https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview#environment-variables
|
# https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview#environment-variables
|
||||||
# The DEV=true env var causes claude to crash with `TypeError: window.WebSocket is not a constructor`
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/claude \
|
wrapProgram $out/bin/claude \
|
||||||
--set DISABLE_AUTOUPDATER 1 \
|
--set DISABLE_AUTOUPDATER 1
|
||||||
--unset DEV
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue