[PR #9618] fix: Update packageManager to bun@1.3.6 #13161

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

Original Pull Request: https://github.com/anomalyco/opencode/pull/9618

State: closed
Merged: No


Fixes #9583

Updates OpenCode to use Bun 1.3.6, including packageManager, dependencies, and Nix hashes.

Problem:
OpenCode build fails because packageManager specifies bun@1.3.5, but Nix provides 1.3.6.

Solution:

  • Update packageManager to bun@1.3.6.
  • Update @types/bun to 1.3.6.
  • Regenerate bun.lock.
  • Update nix/hashes.json with new node_modules hash.

Compatibility:
Bun 1.3.6 is backward compatible; this matches the version in Nixpkgs.

Testing:
Verified with local NixOS rebuild; build succeeds with Bun 1.3.6.

Note: This PR is similar to #8865 but includes the nix/hashes.json update that #8865 lacks, ensuring it works in Nix builds. Alternative to PR #9597, which uses semver ranges instead of exact pinning.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9618 **State:** closed **Merged:** No --- Fixes #9583 Updates OpenCode to use Bun 1.3.6, including packageManager, dependencies, and Nix hashes. **Problem:** OpenCode build fails because packageManager specifies bun@1.3.5, but Nix provides 1.3.6. **Solution:** - Update packageManager to bun@1.3.6. - Update @types/bun to 1.3.6. - Regenerate bun.lock. - Update nix/hashes.json with new node_modules hash. **Compatibility:** Bun 1.3.6 is backward compatible; this matches the version in Nixpkgs. **Testing:** Verified with local NixOS rebuild; build succeeds with Bun 1.3.6. **Note:** This PR is similar to #8865 but includes the nix/hashes.json update that #8865 lacks, ensuring it works in Nix builds. Alternative to PR #9597, which uses semver ranges instead of exact pinning.
yindo added the pull-request label 2026-02-16 18:18:02 -05:00
yindo closed this issue 2026-02-16 18:18:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13161