2 stable releases
| 1.0.1 | Jul 15, 2025 |
|---|---|
| 1.0.0 | Feb 17, 2025 |
#362 in Template engine
75 downloads per month
Used in omnix-cli
140KB
3K
SLoC
omnix
Pronounced /ɒmˈnɪks/
Omnix aims to supplement the Nix CLI to improve developer experience.
Usage
Developing
- Install Nix
- Setup
direnv - Clone this repo,
cdto it, and rundirenv allow.
This will automatically activate the nix develop shell. Open VSCode and install recommended extensions, ensuring that direnv activates in VSCode as well.
Running locally
To run omnix-cli,
just watch # Or `just w`; you can also pass args, e.g.: `just w show`
Nix workflows
Inside the nix develop shell (activated by direnv) you can use any of the cargo or rustc commands, as well as just workflows. Nix specific commands can also be used to work with the project:
# Full nix build of CLI
nix build
# Build and run the CLI
nix run
Contributing
[!TIP] Run
just pcato autoformat the source tree.
- Run
just cito run CI locally. - Add documentation wherever useful.
- Run
just doc runto preview website docs; edit, and runjust doc check - To preview Rust API docs, run
just doc cargo.
- Run
- Changes must accompany a corresponding
history.mdentry.[^cc]
[^cc]: We don't use any automatic changelog generator for this repo.
Release HOWTO
Begin with a release PR:
- Pick a version
- Update
history.mdto make sure new release header is present - Run
cargo workspace publish --force omnix-cliin devShell, using the picked version.
Dependencies
~28–50MB
~682K SLoC