mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #183] [CLOSED] Add Nix flake for declarative cross-platform installation #355
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#355
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?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/183
Author: @ezynda3
Created: 9/26/2025
Status: ❌ Closed
Base:
main← Head:add-nix-flake📝 Commits (9)
a6bc389Add Nix flake for cross-platform OpenTUI installation7e30c04Add Nix installation instructions to READMEa1497acRemove unnecessary nixConfig section from flake71e84a7Update flake to build from source (no releases available yet)241b9beFix dev shell to properly build and configure OpenTUI for Go developmenteaf74feSimplify dev shell by reusing opentui package derivation6d24e97Fix build phase to only compile Zig library without JS dependencies3daf743Fix Zig build by setting proper cache directories86bf0a9Fix Zig build config: name should be a string literal📊 Changes
4 files changed (+242 additions, -1 deletions)
View changed files
📝
README.md(+20 -0)➕
flake.lock(+61 -0)➕
flake.nix(+160 -0)📝
packages/core/src/zig/build.zig.zon(+1 -1)📄 Description
Summary
This PR adds Nix flake support to OpenTUI, enabling declarative, reproducible installation across different systems and architectures through the Nix package manager.
Motivation
Currently, OpenTUI installation requires running a bash script that downloads and installs binaries system-wide. While this works well for traditional setups, it presents challenges for:
What This PR Adds
1.
flake.nix- Main flake definition2.
flake.lock- Pinned dependencies3. Updated README
Benefits
Usage Examples
Notes
This enhancement makes OpenTUI more accessible to the growing Nix community while maintaining full compatibility with existing installation methods.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.