fix: claude-code manual update
This commit is contained in:
parent
1b4e7003fc
commit
78210642c0
3 changed files with 89 additions and 67 deletions
|
|
@ -15,14 +15,14 @@
|
|||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "claude-code";
|
||||
version = "2.1.34";
|
||||
version = "2.1.90";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${finalAttrs.version}.tgz";
|
||||
hash = "sha256-J3kltFY5nR3PsRWbW310VqD/6hhfMbVSvynv0eaIi3M=";
|
||||
hash = "sha256-4/hqWrY2fncQ8p0TxwBAI+mNH98ZDhjvFqB9us7GJK0=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-n762einDxLUUXWMsfdPVhA/kn0ywlJgFQ2ZGoEk3E68=";
|
||||
npmDepsHash = "sha256-kWbbIAoNAQ/BtsICmsabkfnS/1Nta5MQ4iX9+oH7WRw=";
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
|
@ -44,6 +44,7 @@ buildNpmPackage (finalAttrs: {
|
|||
postInstall = ''
|
||||
wrapProgram $out/bin/claude \
|
||||
--set DISABLE_AUTOUPDATER 1 \
|
||||
--set-default FORCE_AUTOUPDATE_PLUGINS 1 \
|
||||
--set DISABLE_INSTALLATION_CHECKS 1 \
|
||||
--unset DEV \
|
||||
--prefix PATH : ${
|
||||
|
|
@ -83,5 +84,6 @@ buildNpmPackage (finalAttrs: {
|
|||
xiaoxiangmoe
|
||||
];
|
||||
mainProgram = "claude";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue