Skip to content

opencode: 2.2.1 -> 2.2.5 - #581607

Merged
GaetanLepage merged 2 commits into
NixOS:masterfrom
sghng:opencode-2.2.5
Nov 2, 2026
Merged

GaetanLepage merged 2 commits into
NixOS:masterfrom
sghng:opencode-2.2.5

Conversation

@sghng

@sghng sghng commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Description of changes

Version bump for opencode, 2.2.1 -> 2.2.5 (upstream: https://github.com/anomalyco/opencode).

Generated with nix-update; updated both the source hash and the node_modules fixed-output derivation hash.

Things done
  • Built the package locally on x86_64-linux with nix-build -A opencode
  • Verified opencode --version reports 2.2.5

@nixpkgs-ci nixpkgs-ci Bot added the 12.first-time contribution This PR is the author's first one; please be gentle! label Nov 1, 2026
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Nov 1, 2026
@sghng

sghng commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

OpenCode v2 is experiencing rapid iteration so sometimes we need a manual bump.

@nixpkgs-review-gha

Copy link
Copy Markdown

❌ nixpkgs-review result

Generated using nixpkgs-review-gha (bfa707b)

Command: nixpkgs-review pr 581607
Commit: 9c4790e0e8d4dd27ccc511afa6031fccfc0da82a (subsequent changes)
Merge: 63c627adf161a7481131c23101e441452aa917ac

Triggered by @delafthi (50531499)
Logs: https://github.com/delafthi/nixpkgs-review-gha/actions/runs/41275877165/attempts/1


x86_64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

aarch64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • opencode-desktop
✅ 1 package built:
  • opencode

@delafthi

delafthi commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Build issue on aarch64-darwin similar to #485589. Could you apply the fix from #501797?

@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (bfa707b)

Command: nixpkgs-review pr 581607
Commit: 22a18ef7a567d38154aaae5588d382dfe132b369 (subsequent changes)
Merge: b145aaa55968f50149782a2b1f51430636738fd6

Triggered by @delafthi (50531499)
Logs: https://github.com/delafthi/nixpkgs-review-gha/actions/runs/41280155358/attempts/1


x86_64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

aarch64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

aarch64-darwin (sandbox = relaxed)

✅ 2 packages built:
  • opencode
  • opencode-desktop

@delafthi delafthi 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.

Great thanks!

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Nov 1, 2026

@DuskyElf DuskyElf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thankss

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 1, 2026
@delafthi
delafthi requested a review from GaetanLepage November 2, 2026 00:14
@GaetanLepage
GaetanLepage added this pull request to the merge queue Nov 2, 2026
Merged via the queue into NixOS:master with commit f12bf47 Nov 2, 2026
33 checks passed
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". and removed 12.approvals: 2 This PR was reviewed and approved by two persons. 12.first-time contribution This PR is the author's first one; please be gentle! labels Nov 2, 2026
@maximizeIT maximizeIT mentioned this pull request Nov 3, 2026
3 tasks done
@maximizeIT

Copy link
Copy Markdown

opencode-node_modules-2.2.5 fails with a hash mismatch on current nixpkgs-unstable: #582673

@DuskyElf DuskyElf mentioned this pull request Nov 3, 2026
6 of 13 tasks
difro added a commit to difro/dotfiles that referenced this pull request Nov 4, 2026
… flake.lock

nixpkgs bumped bun from 1.4.2 to 1.4.4 (NixOS/nixpkgs#577354) a few hours
after opencode 2.2.5 landed with a node_modules hash computed under bun
1.4.2 (NixOS/nixpkgs#581607). bun 1.4.4's `bun install` filters optional
dependencies by the host libc, so the installed tree now differs between
Linux and Darwin and the single upstream hash matches neither
(NixOS/nixpkgs#582673). cache.nixos.org has no opencode 2.2.5 for any
platform, so home-manager switch rebuilds it locally and fails on the
mismatch.

Override the FOD hash per platform. The Darwin value comes from a local
build on this machine; the Linux value is the one reproduced in
NixOS/nixpkgs#582673 and used by PR #582675, not verified here. Drop the
overlay once nixpkgs ships a fix (#582675 or a follow-up).
@sghng
sghng deleted the opencode-2.2.5 branch November 4, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants