Skip to content

fix(nix): update node_modules hashes - #65598

Merged
rekram1-node merged 1 commit into
devfrom
nix-hashes-refresh
Nov 22, 2026
Merged

rekram1-node merged 1 commit into
devfrom
nix-hashes-refresh

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

The Nix node_modules hashes on dev have been stale since Oct 31, so nix build .#opencode fails with a hash mismatch.

These are the hashes the nix-hashes bot computed on Nov 21 (#60957). That PR can't merge because commits pushed by the bot don't start workflows, so the required unit (linux) and typecheck checks never report. The only dependency-related change on dev since the bot ran is a new script line in packages/cli-rs/package.json, which doesn't affect node_modules.

Verified: nix build .#opencode on x86_64-linux at 6d978e2e with these hashes passes, and opencode --version runs. I didn't build aarch64-linux or aarch64-darwin; those values come from the bot's run.


Added by the opencode bot (AI-generated).

Related: #59882, #49063

@rekram1-node
rekram1-node merged commit 13b86ac into dev Nov 22, 2026
11 checks passed
@rekram1-node
rekram1-node deleted the nix-hashes-refresh branch November 22, 2026 18:03

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks right, but I couldn't verify it: Nix isn't installed in the review environment, so I couldn't run nix build.

What I checked by reading the code:

  • The only dependency-related changes on dev since Nov 21 are the packages/cli-rs workspace (#63477) and one script line in it. Neither should change the hash: nix/node_modules.nix installs only the root, cli, desktop and app packages, and cli-rs adds no outside dependencies.
  • Your x86_64-linux build at 6d978e2e already includes #63477.
  • flake.lock hasn't changed, so the Bun version (which the hash depends on, #49063) is the same.

The aarch64-linux and aarch64-darwin hashes are still unconfirmed by anyone except the bot. A quick nix build .#opencode.node_modules on a Mac before merging would confirm the darwin one.

Public API: unchanged.

This repairs dev but not the underlying cause in #59882: dependency changes still merge before the hash bot's PR. Unless the bot PR (#60957) is closed or rebased, the next bot run will also stall on the same missing checks.

Related: #59882, #49063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant