fix(nix): relax Bun version check for desktop build#36767
Merged
Conversation
6 tasks
jerome-benoit
force-pushed
the
nix-desktop-build
branch
from
July 16, 2026 13:40
5cc964f to
985dd95
Compare
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #36331
Type of change
What does this PR do?
Applies the existing Nix-specific Bun version-check relaxation to the desktop derivation, which has its own
postPatchand therefore did not inherit the substitution fromnix/opencode.nix. The existing Linux-only Electron resource-path substitution remains unchanged.How did you verify your code works?
nix build .#opencode-desktop --no-linknix build .#opencode --no-linkgit diff --checkScreenshots / recordings
N/A - build-only fix.
Checklist