Skip to content

feat(nix): add opencode-electron derivation#16163

Open
gigamonster256 wants to merge 4 commits intoanomalyco:devfrom
gigamonster256:push-oxvukultkprr
Open

feat(nix): add opencode-electron derivation#16163
gigamonster256 wants to merge 4 commits intoanomalyco:devfrom
gigamonster256:push-oxvukultkprr

Conversation

@gigamonster256
Copy link
Copy Markdown
Contributor

@gigamonster256 gigamonster256 commented Mar 5, 2026

Issue for this PR

N/A

Type of change

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

What does this PR do?

Adds derivation for running the electron based desktop client using nix

How did you verify your code works?

nix run .#opencode-electron correctly launches the client and the sidecar

tested on x86_64-linix

Screenshots / recordings

N/A

Checklist

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

@gigamonster256 gigamonster256 force-pushed the push-oxvukultkprr branch 2 times, most recently from e23a155 to fe97e73 Compare March 9, 2026 05:06
@gigamonster256 gigamonster256 marked this pull request as ready for review March 9, 2026 05:18
@gigamonster256 gigamonster256 force-pushed the push-oxvukultkprr branch 2 times, most recently from e102182 to e6095b8 Compare March 28, 2026 21:55
@gigamonster256
Copy link
Copy Markdown
Contributor Author

going through some changes to un-bitrot this PR - need to re-test on darwin

@gigamonster256 gigamonster256 force-pushed the push-oxvukultkprr branch 2 times, most recently from 0a2eebb to cad69f7 Compare April 17, 2026 16:41
@gigamonster256 gigamonster256 force-pushed the push-oxvukultkprr branch 2 times, most recently from 8b71210 to adde6fb Compare April 17, 2026 16:58
@gigamonster256
Copy link
Copy Markdown
Contributor Author

gigamonster256 commented Apr 17, 2026

Note: since the electron build builds its own OpenCode base (rather than loading OpenCode cli as a sidecar), it needs to also be able to find the same external tools and cannot rely on using the pre-wrapped exe from the nix opencode package. #22773 looks like it will pull ripgrep back in as an external dependency so that should be considered when making the electron desktop package. Pending decision on #22773

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.

1 participant