Skip to content

Nix flake still broken due to version mismatch of bun #23812

Description

@ptweety

Description

I updated my opencode but found the follwing error:

       > Running phase: buildPhase
       > 12 |
       > 13 | // relax version requirement
       > 14 | const expectedBunVersionRange = `^${expectedBunVersion}`
       > 15 |
       > 16 | if (!semver.satisfies(process.versions.bun, expectedBunVersionRange)) {
       > 17 |   throw new Error(`This script requires bun@${expectedBunVersionRange}, but you are using bun@${process.versions.bun}`)
       >                  ^
       > error: This script requires bun@^1.3.13, but you are using [email protected]
       >       at /build/source/packages/script/src/index.ts:17:13
       > 
       > Bun v1.3.11 (Linux x64)

Plugins

none

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

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