Skip to content

fix(nix): relax Bun version check for desktop build#36767

Merged
rekram1-node merged 3 commits into
anomalyco:devfrom
jerome-benoit:nix-desktop-build
Jul 18, 2026
Merged

fix(nix): relax Bun version check for desktop build#36767
rekram1-node merged 3 commits into
anomalyco:devfrom
jerome-benoit:nix-desktop-build

Conversation

@jerome-benoit

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #36331

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Applies the existing Nix-specific Bun version-check relaxation to the desktop derivation, which has its own postPatch and therefore did not inherit the substitution from nix/opencode.nix. The existing Linux-only Electron resource-path substitution remains unchanged.

How did you verify your code works?

  • nix build .#opencode-desktop --no-link
  • nix build .#opencode --no-link
  • git diff --check

Screenshots / recordings

N/A - build-only fix.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@rekram1-node
rekram1-node merged commit 9da9ed9 into anomalyco:dev Jul 18, 2026
2 checks passed
molicherry added a commit to molicherry/opencode that referenced this pull request Jul 18, 2026
Cherry-picked from base/dev:
- fix(nix): relax Bun version check for desktop build (anomalyco#36767)
- fix(nix): restore desktop integration (anomalyco#37197)
@jerome-benoit
jerome-benoit deleted the nix-desktop-build branch July 19, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nix desktop build still fails Bun version check

2 participants