feat: add Nix flake packaging support#1379
Open
yebei199 wants to merge 16 commits intocode-yeongyu:devfrom
Open
feat: add Nix flake packaging support#1379yebei199 wants to merge 16 commits intocode-yeongyu:devfrom
yebei199 wants to merge 16 commits intocode-yeongyu:devfrom
Conversation
- Add flake.nix with Nix packaging configuration - Use Fixed Output Derivation for reproducible node_modules - Include autoPatchelfHook for native extension support - Add devShell for development environment - Update bun.lock to sync with current dependencies
…andbox) Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <[email protected]>
…bangs Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <[email protected]>
Author
|
close #1268 |
Closed
Author
|
. |
- Add result/ directory to .gitignore - Prevent build artifacts from being committed to repository
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.
Summary
flake.nix,flake.lock) for reproducible builds and development environments.oh-my-opencodeplatform-specific binaries to3.0.0-beta.11..gitignorefor Nix-related build artifacts.Changes
flake.nixandflake.lockto support Nix-based workflows.oh-my-opencodepackage for Linux and Darwin.node_modulesderivation with fixed-output hash for Bun installations.devShellwithbunandnodejs_24.3.0.0-beta.8to3.0.0-beta.11.@openauthjs/openauth,hono,open,xdg-basedir, and their transitive dependencies.result/(Nix build symlink) to.gitignore.Testing
Verified the build process and environment stability.
Related Issues
Summary by cubic
Adds Nix flake support to package oh-my-opencode and provide a reproducible dev environment. This improves onboarding and keeps builds consistent on Linux and macOS.
Written for commit 25103f1. Summary will update on new commits.
#1268