Skip to content

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

@Algorith0n

Description

@Algorith0n

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions