Skip to content

{opencode,opencode-desktop}: 1.4.11 -> 1.14.19#511588

Merged
GaetanLepage merged 1 commit intoNixOS:masterfrom
typedrat:opencode-1.14.18
Apr 21, 2026
Merged

{opencode,opencode-desktop}: 1.4.11 -> 1.14.19#511588
GaetanLepage merged 1 commit intoNixOS:masterfrom
typedrat:opencode-1.14.18

Conversation

@typedrat
Copy link
Copy Markdown
Contributor

@typedrat typedrat commented Apr 19, 2026

Bumps opencode and opencode-desktop from 1.4.11 to 1.14.19.

Release notes:

Upstream jumped version numbering from 1.4.x directly to 1.14.x (there is no 1.5 through 1.13).

Notable build changes

opencode:

  • Set BUN_INSTALL_CACHE_DIR to a temp directory during node_modules fetch to avoid impure cache access
  • Added --filter ./ and --filter ./packages/shared to bun install to match updated workspace layout

opencode-desktop:

  • Switched from gtk3 to gtk4, matching upstream's Tauri 2.x migration
  • Use libappindicator directly instead of the gtk3-specific variant

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@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 Apr 19, 2026
@delafthi
Copy link
Copy Markdown
Contributor

delafthi commented Apr 20, 2026

@typedrat This PR seems very AI-generated to me, since there are a lot of false statements and unnecessary changes.

Added --filter ./ and --filter ./packages/shared to bun install to match updated workspace layout

No need to add --filter ./ which includes the root package. Upstream uses --filter !./ to exclude the root package.

Schema generation consolidated: upstream merged config.json and tui.json into a single schema.json, so passthru.jsonschema is now a single path instead of an attrset

Docs say otherwise https://opencode.ai/docs/config/#tui. Code as well https://github.com/anomalyco/opencode/blob/7a568a457fd7f1e496e11dc377a0c3edfaa17107/packages/opencode/script/schema.ts.

Channel set to "latest" (upstream dropped the "stable" channel label)

Channel can be whatever you want. Upstream uses https://github.com/anomalyco/opencode/blob/f3d5a71620d0ffe399490cdbb0bb113524debdf8/.github/workflows/publish.yml#L482

Use makeWrapper instead of makeBinaryWrapper

See https://nixos.org/manual/nixpkgs/stable/#fun-makeWrapper

Using the makeBinaryWrapper implementation is usually preferred, as it ...

We're happy to take contributions, but please review the code yourself before submitting a PR. All of these points didn't need a lot of investigation.

@superherointj
Copy link
Copy Markdown
Contributor

@typedrat
Copy link
Copy Markdown
Contributor Author

typedrat commented Apr 20, 2026

No need to add --filter ./ which includes the root package. Upstream uses --filter !./ to exclude the root package.

The build fails otherwise, because the build script now imports Prettier at runtime and that's only included if you grab the root package.

As for the rest, all fair points. Pushing a fix momentarily, along with chasing the 1.14.19 bump.

@typedrat typedrat changed the title {opencode,opencode-desktop}: 1.4.11 -> 1.14.18 {opencode,opencode-desktop}: 1.4.11 -> 1.14.19 Apr 20, 2026
@delafthi
Copy link
Copy Markdown
Contributor

The build fails otherwise, because the build script now imports Prettier at runtime and that's only included if you grab the root package.

Okay, thanks for clarifying that.

@delafthi
Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 511588
Commit: 48ddd1b485b3b1203b98fe12e9a82ebe09ca5e52 (subsequent changes)
Merge: 78a7dc5d4fc3689ce6c8b811f05efc5923ee2a17

Logs: https://github.com/delafthi/nixpkgs-review-gha/actions/runs/24708000966


x86_64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

aarch64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

x86_64-darwin

No rebuilds


aarch64-darwin (sandbox = relaxed)

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

@delafthi
Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 511588
Commit: 48ddd1b485b3b1203b98fe12e9a82ebe09ca5e52


aarch64-darwin

✅ 2 packages built:
  • opencode
  • opencode-desktop

@delafthi delafthi requested a review from GaetanLepage April 21, 2026 07:16
@GaetanLepage
Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 511588
Commit: 48ddd1b485b3b1203b98fe12e9a82ebe09ca5e52


x86_64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

aarch64-linux

✅ 2 packages built:
  • opencode
  • opencode-desktop

aarch64-darwin

✅ 2 packages built:
  • opencode
  • opencode-desktop

@GaetanLepage GaetanLepage added this pull request to the merge queue Apr 21, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Apr 21, 2026
Merged via the queue into NixOS:master with commit aa8ef4f Apr 21, 2026
33 of 35 checks passed
@typedrat typedrat deleted the opencode-1.14.18 branch April 21, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants