From 9ae16047a88907db0f9449e37a5b9bdec32c42da Mon Sep 17 00:00:00 2001 From: schickling-assistant <261620128+schickling-assistant@users.noreply.github.com> Date: Mon, 20 Jul 2026 22:32:01 +0200 Subject: [PATCH] fix(nix): regenerate npmDepsHash against main's package-lock.json PR #104 added the flake with an npmDepsHash computed against the package-lock.json on its own branch. Meanwhile 12a4772d ("sync stale package-lock.json to package.json (0.3.0)") landed on main and changed that lock. The merge of #104 combined the new flake with main's newer lock, so the hash was stale from the moment it landed -- a semantic conflict a text-level merge cannot see. main's Nix workflow has been red on the merge commit (run 29775629348) ever since. Regenerated with the command the flake itself documents: nix run nixpkgs#prefetch-npm-deps -- package-lock.json Verified locally: `nix build .#default` succeeds and `nix flake check` passes all three checks (help, completions, typecheck). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01T1xLDkqUDCYUMMADdMqVgP agent-session-id: 312caff5-3274-4d97-baa4-8ff06ab03fc5 agent-tool: Claude Code agent-tool-version: 2.1.215 agent-model: claude-opus-4-8 agent-runtime-profile: /nix/store/acr8a3l2v366jgmwiq8xdrhgz1py0db5-coding-agent-runtime-profile/share/coding-agents/profile.json agent-skills-manifest: /nix/store/sj1v5j91h8v8d1w9lca4040302lwrd6v-agent-skills-corpus/share/agent-skills/manifest.json tooling-profile: dotfiles@unknown-dirty --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index eda9c0c..bb3d4e2 100644 --- a/flake.nix +++ b/flake.nix @@ -50,7 +50,7 @@ # TODO(rust): a Rust rewrite drops npm entirely, and this hash with it. # Regenerate with: nix run nixpkgs#prefetch-npm-deps -- package-lock.json - npmDepsHash = "sha256-CfgSssHEdSjL9liKjaw9aYKMtCJdaxWKGbFM59PgNwg="; + npmDepsHash = "sha256-FsAjO/CYxyMf30F8ESsxFDI30ckYv1uS4+nkvn9Fl+k="; nodejs = pkgs.nodejs_24; npmInstallFlags = [ "--omit=dev" ];