[NixOS] Claude code to 2.1.4
This commit is contained in:
@@ -2,8 +2,8 @@ final: prev:
|
||||
let
|
||||
# Claude Code version override - update these values to bump the version
|
||||
claudeCodeVersion = {
|
||||
version = "2.1.2";
|
||||
hash = "sha256-yCRQtK286EOGVs+0SMokATpvwCeZC4irV1bmhU0kgiI=";
|
||||
version = "2.1.14";
|
||||
hash = "sha256-fgDSKCrauOXbgPc+FmwFX3Ro8CGxwW0Jki0wZz53gpg=";
|
||||
npmDepsHash = "";
|
||||
};
|
||||
|
||||
@@ -22,13 +22,13 @@ in
|
||||
|
||||
# Hyprland and hy3 are provided via flakes for proper plugin compatibility
|
||||
# See flake.nix inputs: hyprland and hy3
|
||||
# claude-code = prev.claude-code.overrideAttrs (oldAttrs: {
|
||||
# inherit (claudeCodeVersion) version npmDepsHash;
|
||||
# src = prev.fetchurl {
|
||||
# url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${claudeCodeVersion.version}.tgz";
|
||||
# inherit (claudeCodeVersion) hash;
|
||||
# };
|
||||
# });
|
||||
claude-code = prev.claude-code.overrideAttrs (oldAttrs: {
|
||||
inherit (claudeCodeVersion) version npmDepsHash;
|
||||
src = prev.fetchurl {
|
||||
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${claudeCodeVersion.version}.tgz";
|
||||
inherit (claudeCodeVersion) hash;
|
||||
};
|
||||
});
|
||||
|
||||
# codex = prev.codex.overrideAttrs (oldAttrs: rec {
|
||||
# inherit (codexVersion) version cargoHash;
|
||||
|
||||
Reference in New Issue
Block a user