Unverified Commit 35a2f8ff authored by André Silva's avatar André Silva Committed by GitHub
Browse files

vscode-extensions.anthropic.claude-code: Bundle Claude Code CLI (#478565)

parents 116f3ef7 56b6daa2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  lib,
  claude-code,
  vscode-utils,
}:

@@ -11,6 +12,11 @@ vscode-utils.buildVscodeMarketplaceExtension {
    hash = "sha256-xN87LR64kikBu0M5pST0PbV7+YwB1ncTzmfGk4PEwNs=";
  };

  postInstall = ''
    rm -f "$out/$installPrefix/resources/native-binary/claude"*
    ln -s "${claude-code}/bin/claude" "$out/$installPrefix/resources/native-binary/claude"
  '';

  meta = {
    description = "Harness the power of Claude Code without leaving your IDE";
    homepage = "https://docs.anthropic.com/s/claude-code";