OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
HASH      d406a10992cf
DATE      2026-02-14
SUBJECT   claude: bump version
FILES     2 CHANGED
HASH      d406a10992cf
DATE      2026-02-14
SUBJECT   claude: bump version
FILES     2 CHANGED
 

diff --git a/outputs/pkgs/claude-code/default.nix b/outputs/pkgs/claude-code/defau
lt.nix
index adeb8bc..d0a4744 100644
--- a/outputs/pkgs/claude-code/default.nix
+++ b/outputs/pkgs/claude-code/default.nix
@@ -1,19 +1,24 @@
 {
+  lib,
+  stdenv,
   buildNpmPackage,
   fetchzip,
-  writableTmpDirAsHomeHook,
   versionCheckHook,
+  writableTmpDirAsHomeHook,
+  bubblewrap,
+  procps,
+  socat,
 }:
 buildNpmPackage (finalAttrs: {
   pname = "claude-code";
-  version = "2.1.1";
+  version = "2.1.20";
 
   src = fetchzip {
     url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${f
inalAttrs.version}.tgz";
-    hash = "sha256-GZIh20GyhsXaAm13veg2WErT4rF9a1x8Dzr9q5Al0io=";
+    hash = "sha256-V2BIqUUJnQpjIsCAAk932L8wp5T74s22q3KgFoxfdDg=";
   };
 
-  npmDepsHash = "sha256-zx81gB3CpKzqBnMJaVHunDVHYL3JI7ty3NJxQCVMAzg=";
+  npmDepsHash = "sha256-X8j7httM9qMpAPR11oDAWwDpkxZ2bc20y6ruMoStMsQ=";
 
   postPatch = ''
     cp ${./package-lock.json} package-lock.json
@@ -29,7 +34,21 @@ buildNpmPackage (finalAttrs: {
   postInstall = ''
     wrapProgram $out/bin/claude \
       --set DISABLE_AUTOUPDATER 1 \
-      --unset DEV
+      --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
+        ]
+      )
+    }
   '';
 
   doInstallCheck = true;

diff --git a/outputs/pkgs/claude-code/defaul
t.nix b/outputs/pkgs/claude-code/default.nix
index adeb8bc..d0a4744 100644
--- a/outputs/pkgs/claude-code/default.nix
+++ b/outputs/pkgs/claude-code/default.nix
@@ -1,19 +1,24 @@
 {
+  lib,
+  stdenv,
   buildNpmPackage,
   fetchzip,
-  writableTmpDirAsHomeHook,
   versionCheckHook,
+  writableTmpDirAsHomeHook,
+  bubblewrap,
+  procps,
+  socat,
 }:
 buildNpmPackage (finalAttrs: {
   pname = "claude-code";
-  version = "2.1.1";
+  version = "2.1.20";
 
   src = fetchzip {
     url = "https://registry.npmjs.org/@anth
ropic-ai/claude-code/-/claude-code-${finalAt
trs.version}.tgz";
-    hash = "sha256-GZIh20GyhsXaAm13veg2WErT
4rF9a1x8Dzr9q5Al0io=";
+    hash = "sha256-V2BIqUUJnQpjIsCAAk932L8w
p5T74s22q3KgFoxfdDg=";
   };
 
-  npmDepsHash = "sha256-zx81gB3CpKzqBnMJaVH
unDVHYL3JI7ty3NJxQCVMAzg=";
+  npmDepsHash = "sha256-X8j7httM9qMpAPR11oD
AWwDpkxZ2bc20y6ruMoStMsQ=";
 
   postPatch = ''
     cp ${./package-lock.json} package-lock.
json
@@ -29,7 +34,21 @@ buildNpmPackage (finalAtt
rs: {
   postInstall = ''
     wrapProgram $out/bin/claude \
       --set DISABLE_AUTOUPDATER 1 \
-      --unset DEV
+      --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
+        ]
+      )
+    }
   '';
 
   doInstallCheck = true;
 

diff --git a/outputs/pkgs/claude-code/package-lock.json b/outputs/pkgs/claude-code
/package-lock.json
index 1931e5b..b241d17 100644
--- a/outputs/pkgs/claude-code/package-lock.json
+++ b/outputs/pkgs/claude-code/package-lock.json
@@ -1,26 +1,3 @@
-{
-  "name": "@anthropic-ai/claude-code",
-  "version": "2.1.1",
-  "lockfileVersion": 3,
-  "requires": true,
-  "packages": {
-    "": {
-      "name": "@anthropic-ai/claude-code",
-      "version": "2.1.1",
-      "license": "SEE LICENSE IN README.md",
-      "bin": {
-        "claude": "cli.js"
-      },
-      "engines": {
-        "node": ">=18.0.0"
-      },
-      "optionalDependencies": {
-        "@img/sharp-darwin-arm64": "^0.33.5",
-        "@img/sharp-darwin-x64": "^0.33.5",
-        "@img/sharp-linux-arm": "^0.33.5",
-        "@img/sharp-linux-arm64": "^0.33.5",
-        "@img/sharp-linux-x64": "^0.33.5",
-        "@img/sharp-win32-x64": "^0.33.5"
       }
     },
     "node_modules/@img/sharp-darwin-arm64": {

diff --git a/outputs/pkgs/claude-code/packag
e-lock.json b/outputs/pkgs/claude-code/packa
ge-lock.json
index 1931e5b..b241d17 100644
--- a/outputs/pkgs/claude-code/package-lock.
json
+++ b/outputs/pkgs/claude-code/package-lock.
json
@@ -1,26 +1,3 @@
-{
-  "name": "@anthropic-ai/claude-code",
-  "version": "2.1.1",
-  "lockfileVersion": 3,
-  "requires": true,
-  "packages": {
-    "": {
-      "name": "@anthropic-ai/claude-code",
-      "version": "2.1.1",
-      "license": "SEE LICENSE IN README.md"
,
-      "bin": {
-        "claude": "cli.js"
-      },
-      "engines": {
-        "node": ">=18.0.0"
-      },
-      "optionalDependencies": {
-        "@img/sharp-darwin-arm64": "^0.33.5
",
-        "@img/sharp-darwin-x64": "^0.33.5",
-        "@img/sharp-linux-arm": "^0.33.5",
-        "@img/sharp-linux-arm64": "^0.33.5"
,
-        "@img/sharp-linux-x64": "^0.33.5",
-        "@img/sharp-win32-x64": "^0.33.5"
       }
     },
     "node_modules/@img/sharp-darwin-arm64":
 {
 
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET