Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive Nix support to kimi-cli, enabling users to install and run the application using the Nix package manager. The implementation uses modern Nix flakes with pyproject-nix tooling for Python package management.
Key Changes:
- Adds Nix flake configuration with multi-platform support (Linux and macOS on both x86_64 and aarch64)
- Patches the application to use Nix-provided ripgrep instead of dynamic resolution
- Updates documentation with Nix installation and usage instructions
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| flake.nix | Defines the Nix package including Python dependencies, build overrides for ripgrepy/kimi-cli, and metadata |
| flake.lock | Lock file specifying exact versions of Nix dependencies (nixpkgs, pyproject-nix, uv2nix, build-system-pkgs) |
| README.md | Adds Nix installation section with instructions for running without install and permanent installation |
| .gitignore | Adds Nix build artifacts (result, result-*) to ignored files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5c6c8f4 to
dd5f5da
Compare
Signed-off-by: Richard Chien <stdrc@outlook.com>
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.
Add nix support for kimi-cli