[BUG] 1.1.23 Nix hash mismatch error on NixOS #6346

Closed
opened 2026-02-16 18:03:24 -05:00 by yindo · 0 comments
Owner

Originally created by @Algorith0n on GitHub (Jan 15, 2026).

Originally assigned to: @thdxr on GitHub.

Description

When attempting to build 1.1.23 from the Flake on NixOS (nixpkgs/nixos-unstable commit: 1412caf7bf9e660f2f962917c14b1ea1c3bc695e), it fails because:

error: hash mismatch in fixed-output derivation '/nix/store/q2rfy711cw22yf5mmp1awas599nkbrkp-opencode-node_modules-1.1.23.drv':
specified: sha256-4ndHIlS9t1ynRdFszJ1nvcu3YhunhuOc7jcuHI1FbnM=
got: sha256-Fl1BdjNSg19LJVSgDMiBX8JuTaGlL2I5T+rqLfjSeO4=

Plugins

N/A

OpenCode version

1.1.23

Steps to reproduce

  1. Attempt to sudo nixos-rebuild switch with flake input: opencode = { url = "github:anomalyco/opencode/7443b9929556d5c86a89df3df95af720bd82cd80"; inputs.nixpkgs.follows = "nixpkgs"; };
  2. Watch it fail.

Screenshot and/or share link

No response

Operating System

NixOS 26.05 (nixpkgs/nixos-unstable:1412caf7bf9e660f2f962917c14b1ea1c3bc695e)

Terminal

N/A

Originally created by @Algorith0n on GitHub (Jan 15, 2026). Originally assigned to: @thdxr on GitHub. ### Description When attempting to build 1.1.23 from the Flake on NixOS (nixpkgs/nixos-unstable commit: 1412caf7bf9e660f2f962917c14b1ea1c3bc695e), it fails because: > error: hash mismatch in fixed-output derivation '/nix/store/q2rfy711cw22yf5mmp1awas599nkbrkp-opencode-node_modules-1.1.23.drv': specified: sha256-4ndHIlS9t1ynRdFszJ1nvcu3YhunhuOc7jcuHI1FbnM= got: sha256-Fl1BdjNSg19LJVSgDMiBX8JuTaGlL2I5T+rqLfjSeO4= ### Plugins N/A ### OpenCode version 1.1.23 ### Steps to reproduce 1. Attempt to `sudo nixos-rebuild switch` with flake input: `opencode = { url = "github:anomalyco/opencode/7443b9929556d5c86a89df3df95af720bd82cd80"; inputs.nixpkgs.follows = "nixpkgs"; };` 2. Watch it fail. ### Screenshot and/or share link _No response_ ### Operating System NixOS 26.05 (nixpkgs/nixos-unstable:1412caf7bf9e660f2f962917c14b1ea1c3bc695e) ### Terminal N/A
yindo added the bugnix labels 2026-02-16 18:03:24 -05:00
yindo closed this issue 2026-02-16 18:03:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6346