mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[GH-ISSUE #409] Add flake.nix and use it in opencode's flake #103
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @b0o on GitHub (Dec 12, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/409
It would be very convenient if we could build opencode and opentui from source with nix. Opencode already has a flake.nix but it uses the version of opentui from npm. I've tried overriding this in an overlay but it's very hacky. First-class flake support would be very nice and make it easier to contribute to the projects versus using the current
link-opentui-dev.shscript.@kommander commented on GitHub (Dec 12, 2025):
I am not a nix user, neither do I even know what a flake is or how to use it, but I don't mind publishing it as such if that helps. Wouldn't know where to start though.
@b0o commented on GitHub (Dec 13, 2025):
I might give it a shot and send a PR. For now, here's how I'm managing building my fork of opencode+opentui from source using a nix overlay: https://github.com/b0o/dotfiles/blob/main/nix/overlays/opencode.nix
It's quite hacky and requires performing surgery on
node_modulesto get the build working. But it works 😅