OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
HASH      ea482ebb7ca4
DATE      2026-06-04
SUBJECT   claude: bump package
FILES     4 CHANGED
HASH      ea482ebb7ca4
DATE      2026-06-04
SUBJECT   claude: bump package
FILES     4 CHANGED
 

diff --git a/outputs/pkgs/claude-code/default.nix b/outputs/pkgs/claude-code/defau
lt.nix
index d0a4744..2cfa3dc 100644
--- a/outputs/pkgs/claude-code/default.nix
+++ b/outputs/pkgs/claude-code/default.nix
@@ -1,66 +1,101 @@
 {
   lib,
-  stdenv,
-  buildNpmPackage,
-  fetchzip,
-  versionCheckHook,
-  writableTmpDirAsHomeHook,
-  bubblewrap,
+  stdenvNoCC,
+  fetchurl,
+  installShellFiles,
+  makeBinaryWrapper,
+  autoPatchelfHook,
+  alsa-lib,
   procps,
+  ripgrep,
+  bubblewrap,
   socat,
-}:
-buildNpmPackage (finalAttrs: {
-  pname = "claude-code";
-  version = "2.1.20";
+  versionCheckHook,
+  writableTmpDirAsHomeHook,
+}: let
+  stdenv = stdenvNoCC;
+  baseUrl = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8
dfa-d59b1c096819/claude-code-releases";
+  manifest = lib.importJSON ./manifest.json;
+  platformKey = "${stdenv.hostPlatform.node.platform}-${stdenv.hostPlatform.node.
arch}";
+  platformManifestEntry = manifest.platforms.${platformKey};
+in
+  stdenv.mkDerivation (finalAttrs: {
+    pname = "claude-code";
+    inherit (manifest) version;
+
+    src = fetchurl {
+      url = "${baseUrl}/${finalAttrs.version}/${platformKey}/claude";
+      sha256 = platformManifestEntry.checksum;
+    };
+
+    dontUnpack = true;
+    dontBuild = true;
+    __noChroot = stdenv.hostPlatform.isDarwin;
+    # otherwise the bun runtime is executed instead of the binary
+    dontStrip = true;
 
-  src = fetchzip {
-    url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${f
inalAttrs.version}.tgz";
-    hash = "sha256-V2BIqUUJnQpjIsCAAk932L8wp5T74s22q3KgFoxfdDg=";
-  };
+    nativeBuildInputs =
+      [
+        installShellFiles
+        makeBinaryWrapper
+      ]
+      ++ lib.optionals stdenv.hostPlatform.isElf [autoPatchelfHook];
 
-  npmDepsHash = "sha256-X8j7httM9qMpAPR11oDAWwDpkxZ2bc20y6ruMoStMsQ=";
+    strictDeps = true;
 
-  postPatch = ''
-    cp ${./package-lock.json} package-lock.json
-  '';
+    installPhase = ''
+      runHook preInstall
 
-  dontNpmBuild = true;
+      installBin $src
 
-  env.AUTHORIZED = "1";
+      wrapProgram $out/bin/claude \
+        --set DISABLE_AUTOUPDATER 1 \
+        --set-default FORCE_AUTOUPDATE_PLUGINS 1 \
+        --set DISABLE_INSTALLATION_CHECKS 1 \
+        --set USE_BUILTIN_RIPGREP 0 \
+        ${lib.optionalString stdenv.hostPlatform.isLinux ''
+        --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [alsa-lib]} \
+      ''}--prefix PATH : ${
+        lib.makeBinPath (
+          [
+            # claude-code uses [node-tree-kill](https://github.com/pkrumins/node-
tree-kill) which requires procps's pgrep(darwin) or ps(linux)
+            procps
+            # https://code.claude.com/docs/en/troubleshooting#search-and-discover
y-issues
+            ripgrep
+          ]
+          # the following packages are required for the sandbox to work (Linux on
ly)
+          ++ lib.optionals stdenv.hostPlatform.isLinux [
+            bubblewrap
+            socat
+          ]
+        )
+      }
 
-  # `claude-code` tries to auto-update by default, this disables that functionali
ty.
-  # https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview#envi
ronment-variables
-  # The DEV=true env var causes claude to crash with `TypeError: window.WebSocket
 is not a constructor`
-  postInstall = ''
-    wrapProgram $out/bin/claude \
-      --set DISABLE_AUTOUPDATER 1 \
-      --set DISABLE_INSTALLATION_CHECKS 1 \
-      --unset DEV \
-      --prefix PATH : ${
-      lib.makeBinPath (
-        [
-          # claude-code uses [node-tree-kill](https://github.com/pkrumins/node-tr
ee-kill) which requires procps's pgrep(darwin) or ps(linux)
-          procps
-        ]
-        # the following packages are required for the sandbox to work (Linux only
)
-        ++ lib.optionals stdenv.hostPlatform.isLinux [
-          bubblewrap
-          socat
-        ]
-      )
-    }
-  '';
+      runHook postInstall
+    '';
 
-  doInstallCheck = true;
-  nativeInstallCheckInputs = [
-    writableTmpDirAsHomeHook
-    versionCheckHook
-  ];
-  versionCheckKeepEnvironment = ["HOME"];
+    doInstallCheck = true;
+    nativeInstallCheckInputs = [
+      writableTmpDirAsHomeHook
+      versionCheckHook
+    ];
+    versionCheckKeepEnvironment = ["HOME"];
+    versionCheckProgramArg = "--version";
 
-  passthru.updateScript = ./update.sh;
+    passthru.updateScript = ./update.sh;
 
-  meta = {
-    mainProgram = "claude";
-  };
-})
+    meta = {
+      description = "Agentic coding tool that lives in your terminal, understands
 your codebase, and helps you code faster";
+      homepage = "https://github.com/anthropics/claude-code";
+      downloadPage = "https://claude.com/product/claude-code";
+      changelog = "https://github.com/anthropics/claude-code/blob/main/CHANGELOG.
md";
+      sourceProvenance = with lib.sourceTypes; [binaryNativeCode];
+      platforms = [
+        "aarch64-darwin"
+        "x86_64-darwin"
+        "aarch64-linux"
+        "x86_64-linux"
+      ];
+      mainProgram = "claude";
+    };
+  })

diff --git a/outputs/pkgs/claude-code/defaul
t.nix b/outputs/pkgs/claude-code/default.nix
index d0a4744..2cfa3dc 100644
--- a/outputs/pkgs/claude-code/default.nix
+++ b/outputs/pkgs/claude-code/default.nix
@@ -1,66 +1,101 @@
 {
   lib,
-  stdenv,
-  buildNpmPackage,
-  fetchzip,
-  versionCheckHook,
-  writableTmpDirAsHomeHook,
-  bubblewrap,
+  stdenvNoCC,
+  fetchurl,
+  installShellFiles,
+  makeBinaryWrapper,
+  autoPatchelfHook,
+  alsa-lib,
   procps,
+  ripgrep,
+  bubblewrap,
   socat,
-}:
-buildNpmPackage (finalAttrs: {
-  pname = "claude-code";
-  version = "2.1.20";
+  versionCheckHook,
+  writableTmpDirAsHomeHook,
+}: let
+  stdenv = stdenvNoCC;
+  baseUrl = "https://storage.googleapis.com
/claude-code-dist-86c565f3-f756-42ad-8dfa-d5
9b1c096819/claude-code-releases";
+  manifest = lib.importJSON ./manifest.json
;
+  platformKey = "${stdenv.hostPlatform.node
.platform}-${stdenv.hostPlatform.node.arch}"
;
+  platformManifestEntry = manifest.platform
s.${platformKey};
+in
+  stdenv.mkDerivation (finalAttrs: {
+    pname = "claude-code";
+    inherit (manifest) version;
+
+    src = fetchurl {
+      url = "${baseUrl}/${finalAttrs.versio
n}/${platformKey}/claude";
+      sha256 = platformManifestEntry.checks
um;
+    };
+
+    dontUnpack = true;
+    dontBuild = true;
+    __noChroot = stdenv.hostPlatform.isDarw
in;
+    # otherwise the bun runtime is executed
 instead of the binary
+    dontStrip = true;
 
-  src = fetchzip {
-    url = "https://registry.npmjs.org/@anth
ropic-ai/claude-code/-/claude-code-${finalAt
trs.version}.tgz";
-    hash = "sha256-V2BIqUUJnQpjIsCAAk932L8w
p5T74s22q3KgFoxfdDg=";
-  };
+    nativeBuildInputs =
+      [
+        installShellFiles
+        makeBinaryWrapper
+      ]
+      ++ lib.optionals stdenv.hostPlatform.
isElf [autoPatchelfHook];
 
-  npmDepsHash = "sha256-X8j7httM9qMpAPR11oD
AWwDpkxZ2bc20y6ruMoStMsQ=";
+    strictDeps = true;
 
-  postPatch = ''
-    cp ${./package-lock.json} package-lock.
json
-  '';
+    installPhase = ''
+      runHook preInstall
 
-  dontNpmBuild = true;
+      installBin $src
 
-  env.AUTHORIZED = "1";
+      wrapProgram $out/bin/claude \
+        --set DISABLE_AUTOUPDATER 1 \
+        --set-default FORCE_AUTOUPDATE_PLUG
INS 1 \
+        --set DISABLE_INSTALLATION_CHECKS 1
 \
+        --set USE_BUILTIN_RIPGREP 0 \
+        ${lib.optionalString stdenv.hostPla
tform.isLinux ''
+        --prefix LD_LIBRARY_PATH : ${lib.ma
keLibraryPath [alsa-lib]} \
+      ''}--prefix PATH : ${
+        lib.makeBinPath (
+          [
+            # claude-code uses [node-tree-k
ill](https://github.com/pkrumins/node-tree-k
ill) which requires procps's pgrep(darwin) o
r ps(linux)
+            procps
+            # https://code.claude.com/docs/
en/troubleshooting#search-and-discovery-issu
es
+            ripgrep
+          ]
+          # the following packages are requ
ired for the sandbox to work (Linux only)
+          ++ lib.optionals stdenv.hostPlatf
orm.isLinux [
+            bubblewrap
+            socat
+          ]
+        )
+      }
 
-  # `claude-code` tries to auto-update by d
efault, this disables that functionality.
-  # https://docs.anthropic.com/en/docs/agen
ts-and-tools/claude-code/overview#environmen
t-variables
-  # The DEV=true env var causes claude to c
rash with `TypeError: window.WebSocket is no
t a constructor`
-  postInstall = ''
-    wrapProgram $out/bin/claude \
-      --set DISABLE_AUTOUPDATER 1 \
-      --set DISABLE_INSTALLATION_CHECKS 1 \
-      --unset DEV \
-      --prefix PATH : ${
-      lib.makeBinPath (
-        [
-          # claude-code uses [node-tree-kil
l](https://github.com/pkrumins/node-tree-kil
l) which requires procps's pgrep(darwin) or 
ps(linux)
-          procps
-        ]
-        # the following packages are requir
ed for the sandbox to work (Linux only)
-        ++ lib.optionals stdenv.hostPlatfor
m.isLinux [
-          bubblewrap
-          socat
-        ]
-      )
-    }
-  '';
+      runHook postInstall
+    '';
 
-  doInstallCheck = true;
-  nativeInstallCheckInputs = [
-    writableTmpDirAsHomeHook
-    versionCheckHook
-  ];
-  versionCheckKeepEnvironment = ["HOME"];
+    doInstallCheck = true;
+    nativeInstallCheckInputs = [
+      writableTmpDirAsHomeHook
+      versionCheckHook
+    ];
+    versionCheckKeepEnvironment = ["HOME"];
+    versionCheckProgramArg = "--version";
 
-  passthru.updateScript = ./update.sh;
+    passthru.updateScript = ./update.sh;
 
-  meta = {
-    mainProgram = "claude";
-  };
-})
+    meta = {
+      description = "Agentic coding tool th
at lives in your terminal, understands your 
codebase, and helps you code faster";
+      homepage = "https://github.com/anthro
pics/claude-code";
+      downloadPage = "https://claude.com/pr
oduct/claude-code";
+      changelog = "https://github.com/anthr
opics/claude-code/blob/main/CHANGELOG.md";
+      sourceProvenance = with lib.sourceTyp
es; [binaryNativeCode];
+      platforms = [
+        "aarch64-darwin"
+        "x86_64-darwin"
+        "aarch64-linux"
+        "x86_64-linux"
+      ];
+      mainProgram = "claude";
+    };
+  })
 

diff --git a/outputs/pkgs/claude-code/manifest.json b/outputs/pkgs/claude-code/man
ifest.json
new file mode 100644
index 0000000..1494135
--- /dev/null
+++ b/outputs/pkgs/claude-code/manifest.json
@@ -0,0 +1,47 @@
+{
+  "version": "2.1.154",
+  "commit": "b84d2da9ada13121515426fc644786a303e9ac53",
+  "buildDate": "2026-05-28T12:36:02Z",
+  "platforms": {
+    "darwin-arm64": {
+      "binary": "claude",
+      "checksum": "bc9881b107d7be1743c64c8b72dd66798f5d0947dbc48ed0d77964c473661f
d4",
+      "size": 214986144
+    },
+    "darwin-x64": {
+      "binary": "claude",
+      "checksum": "1608d93261879201dcf77dd32dc173efbeea715187d3542fd05afcf7d5b5ec
4d",
+      "size": 217500304
+    },
+    "linux-arm64": {
+      "binary": "claude",
+      "checksum": "9f732de278f7adc61d29fd5b055ddaf1bae3bb26d75fe6e06a125602565777
a8",
+      "size": 240301704
+    },
+    "linux-x64": {
+      "binary": "claude",
+      "checksum": "67f6cab7e6c124010f62ac18f8078bc09e0db6a5b9e8ae874e9e73033c4517
93",
+      "size": 240420560
+    },
+    "linux-arm64-musl": {
+      "binary": "claude",
+      "checksum": "5880876f031d5e904d107e23d9d32f717e0a30e903277970e17b82955d4c36
50",
+      "size": 233156440
+    },
+    "linux-x64-musl": {
+      "binary": "claude",
+      "checksum": "ee9b77191b949660b6ef09c42768baf04b881c963b77846e99450562a6e3ba
70",
+      "size": 234814512
+    },
+    "win32-x64": {
+      "binary": "claude.exe",
+      "checksum": "0a4fd0248444c6f33d659c555dcf66c2ab4a1b2c6ae8c4126c7ecf11c54779
1a",
+      "size": 236073120
+    },
+    "win32-arm64": {
+      "binary": "claude.exe",
+      "checksum": "5db6139981642c69fcb1c7ca17bba2eed22727dbdff43422d8a1d93761d864
31",
+      "size": 232038560
+    }
+  }
+}

diff --git a/outputs/pkgs/claude-code/manife
st.json b/outputs/pkgs/claude-code/manifest.
json
new file mode 100644
index 0000000..1494135
--- /dev/null
+++ b/outputs/pkgs/claude-code/manifest.json
@@ -0,0 +1,47 @@
+{
+  "version": "2.1.154",
+  "commit": "b84d2da9ada13121515426fc644786
a303e9ac53",
+  "buildDate": "2026-05-28T12:36:02Z",
+  "platforms": {
+    "darwin-arm64": {
+      "binary": "claude",
+      "checksum": "bc9881b107d7be1743c64c8b
72dd66798f5d0947dbc48ed0d77964c473661fd4",
+      "size": 214986144
+    },
+    "darwin-x64": {
+      "binary": "claude",
+      "checksum": "1608d93261879201dcf77dd3
2dc173efbeea715187d3542fd05afcf7d5b5ec4d",
+      "size": 217500304
+    },
+    "linux-arm64": {
+      "binary": "claude",
+      "checksum": "9f732de278f7adc61d29fd5b
055ddaf1bae3bb26d75fe6e06a125602565777a8",
+      "size": 240301704
+    },
+    "linux-x64": {
+      "binary": "claude",
+      "checksum": "67f6cab7e6c124010f62ac18
f8078bc09e0db6a5b9e8ae874e9e73033c451793",
+      "size": 240420560
+    },
+    "linux-arm64-musl": {
+      "binary": "claude",
+      "checksum": "5880876f031d5e904d107e23
d9d32f717e0a30e903277970e17b82955d4c3650",
+      "size": 233156440
+    },
+    "linux-x64-musl": {
+      "binary": "claude",
+      "checksum": "ee9b77191b949660b6ef09c4
2768baf04b881c963b77846e99450562a6e3ba70",
+      "size": 234814512
+    },
+    "win32-x64": {
+      "binary": "claude.exe",
+      "checksum": "0a4fd0248444c6f33d659c55
5dcf66c2ab4a1b2c6ae8c4126c7ecf11c547791a",
+      "size": 236073120
+    },
+    "win32-arm64": {
+      "binary": "claude.exe",
+      "checksum": "5db6139981642c69fcb1c7ca
17bba2eed22727dbdff43422d8a1d93761d86431",
+      "size": 232038560
+    }
+  }
+}
 

diff --git a/outputs/pkgs/claude-code/package-lock.json b/outputs/pkgs/claude-code
/package-lock.json
deleted file mode 100644
index b241d17..0000000
--- a/outputs/pkgs/claude-code/package-lock.json
+++ /dev/null
@@ -1,213 +0,0 @@
-      }
-    },
-    "node_modules/@img/sharp-darwin-arm64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-dar
win-arm64-0.33.5.tgz",
-      "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcr
RvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-darwin-arm64": "1.0.4"
-      }
-    },
-    "node_modules/@img/sharp-darwin-x64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwi
n-x64-0.33.5.tgz",
-      "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZK
AOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-darwin-x64": "1.0.4"
-      }
-    },
-    "node_modules/@img/sharp-libvips-darwin-arm64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/s
harp-libvips-darwin-arm64-1.0.4.tgz",
-      "integrity": "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k
6dFEcOL72O01QxQsWi761svJ/ev9xEDg==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-darwin-x64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sha
rp-libvips-darwin-x64-1.0.4.tgz",
-      "integrity": "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6
xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-linux-arm": {
-      "version": "1.0.5",
-      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/shar
p-libvips-linux-arm-1.0.5.tgz",
-      "integrity": "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMA
z4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==",
-      "cpu": [
-        "arm"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-linux-arm64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sh
arp-libvips-linux-arm64-1.0.4.tgz",
-      "integrity": "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/7
0GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-linux-x64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/shar
p-libvips-linux-x64-1.0.4.tgz",
-      "integrity": "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtu
yf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      }
-    },
-    "node_modules/@img/sharp-linux-arm": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-
arm-0.33.5.tgz",
-      "integrity": "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ
1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==",
-      "cpu": [
-        "arm"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-linux-arm": "1.0.5"
-      }
-    },
-    "node_modules/@img/sharp-linux-arm64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linu
x-arm64-0.33.5.tgz",
-      "integrity": "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTR
I7mx9VksGX4awWASxqCYLCV4wBZHAYxA==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-linux-arm64": "1.0.4"
-      }
-    },
-    "node_modules/@img/sharp-linux-x64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-
x64-0.33.5.tgz",
-      "integrity": "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2m
xF1izXqkPYlGuP/M556uh53jRLJmzTWA==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-linux-x64": "1.0.4"
-      }
-    },
-    "node_modules/@img/sharp-win32-x64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-
x64-0.33.5.tgz",
-      "integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/V
NwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "Apache-2.0 AND LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "win32"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/libvips"
-      }
-    }
-  }
-}

diff --git a/outputs/pkgs/claude-code/packag
e-lock.json b/outputs/pkgs/claude-code/packa
ge-lock.json
deleted file mode 100644
index b241d17..0000000
--- a/outputs/pkgs/claude-code/package-lock.
json
+++ /dev/null
@@ -1,213 +0,0 @@
-      }
-    },
-    "node_modules/@img/sharp-darwin-arm64":
 {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-darwin-arm64/-/sharp-darwin-ar
m64-0.33.5.tgz",
-      "integrity": "sha512-UT4p+iz/2H4twwAo
LCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1Dz
uY3qYL07NtIQcWnBSY/heikIFQ==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=2
1.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-darwin-arm64": 
"1.0.4"
-      }
-    },
-    "node_modules/@img/sharp-darwin-x64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-darwin-x64/-/sharp-darwin-x64-
0.33.5.tgz",
-      "integrity": "sha512-fyHac4jIc1ANYGRD
xtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYb
nepLC1WqxfpimdeWfvqqSGwR2Q==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=2
1.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-darwin-x64": "1
.0.4"
-      }
-    },
-    "node_modules/@img/sharp-libvips-darwin
-arm64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-libvips-darwin-arm64/-/sharp-l
ibvips-darwin-arm64-1.0.4.tgz",
-      "integrity": "sha512-XblONe153h0O2zuF
fTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcO
L72O01QxQsWi761svJ/ev9xEDg==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-darwin
-x64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-libvips-darwin-x64/-/sharp-lib
vips-darwin-x64-1.0.4.tgz",
-      "integrity": "sha512-xnGR8YuZYfJGmWPv
mlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvU
TKKiLddarLaxpzNe+b1hjeWHAQ==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-linux-
arm": {
-      "version": "1.0.5",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-libvips-linux-arm/-/sharp-libv
ips-linux-arm-1.0.5.tgz",
-      "integrity": "sha512-gvcC4ACAOPRNATg/
ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLa
Vi+OnSb5FK/yIOamqDwGmXW32g==",
-      "cpu": [
-        "arm"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-linux-
arm64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-libvips-linux-arm64/-/sharp-li
bvips-linux-arm64-1.0.4.tgz",
-      "integrity": "sha512-9B+taZ8DlyyqzZQn
oeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7t
dLA4YJgNP25zukcxpX2/SueNrA==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      }
-    },
-    "node_modules/@img/sharp-libvips-linux-
x64": {
-      "version": "1.0.4",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-libvips-linux-x64/-/sharp-libv
ips-linux-x64-1.0.4.tgz",
-      "integrity": "sha512-MmWmQ3iPFZr0Iev+
BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDG
IzOaW9PdnDciJm+wFFaTlj5xYw==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "LGPL-3.0-or-later",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      }
-    },
-    "node_modules/@img/sharp-linux-arm": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-linux-arm/-/sharp-linux-arm-0.
33.5.tgz",
-      "integrity": "sha512-JTS1eldqZbJxjvKa
AkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp4
93HvrvV8QgdOXdyaIBrhvFhBMQ==",
-      "cpu": [
-        "arm"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=2
1.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-linux-arm": "1.
0.5"
-      }
-    },
-    "node_modules/@img/sharp-linux-arm64": 
{
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-linux-arm64/-/sharp-linux-arm6
4-0.33.5.tgz",
-      "integrity": "sha512-JMVv+AMRyGOHtO1R
FBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9V
ksGX4awWASxqCYLCV4wBZHAYxA==",
-      "cpu": [
-        "arm64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=2
1.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-linux-arm64": "
1.0.4"
-      }
-    },
-    "node_modules/@img/sharp-linux-x64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-linux-x64/-/sharp-linux-x64-0.
33.5.tgz",
-      "integrity": "sha512-opC+Ok5pRNAzuvq1
AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izX
qkPYlGuP/M556uh53jRLJmzTWA==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "Apache-2.0",
-      "optional": true,
-      "os": [
-        "linux"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=2
1.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      },
-      "optionalDependencies": {
-        "@img/sharp-libvips-linux-x64": "1.
0.4"
-      }
-    },
-    "node_modules/@img/sharp-win32-x64": {
-      "version": "0.33.5",
-      "resolved": "https://registry.npmjs.o
rg/@img/sharp-win32-x64/-/sharp-win32-x64-0.
33.5.tgz",
-      "integrity": "sha512-MpY/o8/8kj+Ecnxw
vrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoG
mdT7GfggGIU4kygOMSbYnOrAbg==",
-      "cpu": [
-        "x64"
-      ],
-      "license": "Apache-2.0 AND LGPL-3.0-o
r-later",
-      "optional": true,
-      "os": [
-        "win32"
-      ],
-      "engines": {
-        "node": "^18.17.0 || ^20.3.0 || >=2
1.0.0"
-      },
-      "funding": {
-        "url": "https://opencollective.com/
libvips"
-      }
-    }
-  }
-}
 

diff --git a/outputs/pkgs/claude-code/update.sh b/outputs/pkgs/claude-code/update.
sh
index 606a3fc..1e2125a 100644
--- a/outputs/pkgs/claude-code/update.sh
+++ b/outputs/pkgs/claude-code/update.sh
@@ -1,15 +1,12 @@
 #!/usr/bin/env nix
-#!nix shell --ignore-environment .#cacert .#nodejs .#git .#nix-update .#nix .#gnu
sed .#findutils .#bash --command bash
+#!nix shell --ignore-environment .#cacert .#coreutils .#curl .#bash --command bas
h
 
 set -euo pipefail
 
-version=$(npm view @anthropic-ai/claude-code version)
+cd "$(dirname "${BASH_SOURCE[0]}")"
 
-# Update version and hashes
-AUTHORIZED=1 NIXPKGS_ALLOW_UNFREE=1 nix-update claude-code --version="$version" -
-generate-lockfile
+BASE_URL="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa
-d59b1c096819/claude-code-releases"
 
-# nix-update can't update package-lock.json along with npmDepsHash
-# TODO: Remove this workaround if nix-update can update package-lock.json along w
ith npmDepsHash.
-(nix-build --expr '((import ./.) { system = builtins.currentSystem; }).claude-cod
e.npmDeps.overrideAttrs { outputHash = ""; outputHashAlgo = "sha256"; }' 2>&1 || t
rue) |
-  sed -nE '$s/ *got: *(sha256-[A-Za-z0-9+/=-]+).*/\1/p' |
-  xargs -I{} sed -i 's|npmDepsHash = "sha256-[^"]*";|npmDepsHash = "{}";|' pkgs/b
y-name/cl/claude-code/package.nix
+VERSION="${1:-$(curl -fsSL "$BASE_URL/latest")}"
+
+curl -fsSL "$BASE_URL/$VERSION/manifest.json" --output manifest.json

diff --git a/outputs/pkgs/claude-code/update
.sh b/outputs/pkgs/claude-code/update.sh
index 606a3fc..1e2125a 100644
--- a/outputs/pkgs/claude-code/update.sh
+++ b/outputs/pkgs/claude-code/update.sh
@@ -1,15 +1,12 @@
 #!/usr/bin/env nix
-#!nix shell --ignore-environment .#cacert .
#nodejs .#git .#nix-update .#nix .#gnused .#
findutils .#bash --command bash
+#!nix shell --ignore-environment .#cacert .
#coreutils .#curl .#bash --command bash
 
 set -euo pipefail
 
-version=$(npm view @anthropic-ai/claude-cod
e version)
+cd "$(dirname "${BASH_SOURCE[0]}")"
 
-# Update version and hashes
-AUTHORIZED=1 NIXPKGS_ALLOW_UNFREE=1 nix-upd
ate claude-code --version="$version" --gener
ate-lockfile
+BASE_URL="https://storage.googleapis.com/cl
aude-code-dist-86c565f3-f756-42ad-8dfa-d59b1
c096819/claude-code-releases"
 
-# nix-update can't update package-lock.json
 along with npmDepsHash
-# TODO: Remove this workaround if nix-updat
e can update package-lock.json along with np
mDepsHash.
-(nix-build --expr '((import ./.) { system =
 builtins.currentSystem; }).claude-code.npmD
eps.overrideAttrs { outputHash = ""; outputH
ashAlgo = "sha256"; }' 2>&1 || true) |
-  sed -nE '$s/ *got: *(sha256-[A-Za-z0-9+/=
-]+).*/\1/p' |
-  xargs -I{} sed -i 's|npmDepsHash = "sha25
6-[^"]*";|npmDepsHash = "{}";|' pkgs/by-name
/cl/claude-code/package.nix
+VERSION="${1:-$(curl -fsSL "$BASE_URL/lates
t")}"
+
+curl -fsSL "$BASE_URL/$VERSION/manifest.jso
n" --output manifest.json
 
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET