Skip to content

Failed to build opencode v1.2.15 with nix flake #15635

@TsurumaruTsuyoshi

Description

@TsurumaruTsuyoshi

Description

Logs:

Using versionCheckHook
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/msy0bxaj5xbi4swpp4k0iav7xdr3g8ip-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configurePhase completed in 33 seconds
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
11 |
12 | // relax version requirement
13 | const expectedBunVersionRange = `^${expectedBunVersion}`
14 |
15 | if (!semver.satisfies(process.versions.bun, expectedBunVersionRange)) {
16 |   throw new Error(`This script requires bun@${expectedBunVersionRange}, but you are using bun@${process.versions.b>
                 ^
error: This script requires bun@^1.3.10, but you are using bun@1.3.9
      at /build/source/packages/script/src/index.ts:16:13

Bun v1.3.9 (Linux x64)

Will be resolved by #15632

Plugins

No response

OpenCode version

v1.2.15

Steps to reproduce

nix build github:anomalyco/opencode/v1.2.15

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