claude-code: allow easily overriding manifest (#545424)

This commit is contained in:
Adam C. Stephens
2026-07-25 20:16:14 +00:00
committed by GitHub
+1 -1
View File
@@ -16,11 +16,11 @@
socat,
versionCheckHook,
writableTmpDirAsHomeHook,
manifest ? lib.importJSON ./manifest.json,
}:
let
stdenv = stdenvNoCC;
baseUrl = "https://downloads.claude.ai/claude-code-releases";
manifest = lib.importJSON ./manifest.json;
platformKey = "${stdenv.hostPlatform.node.platform}-${stdenv.hostPlatform.node.arch}";
platformManifestEntry = manifest.platforms.${platformKey};
in