nix-versions
What it does
Section titled “What it does”nix-versions resolves package versions by integrating the services the Nix ecosystem already provides, any of which can be the default or combined per-package:
- search.nixos.org (via nix-search-cli): search packages by program or attribute name wildcards
- nixhub.io: default backend for version resolution
- lazamar.co.uk: versions by nixpkgs channel
- history.nix-packages: a community versions index
Key features
Section titled “Key features”- Multi backend resolution: selectable or combined per package
- Version constraint filters: semver hyphen ranges to pin compatible/stable sets
- Tool version manager: with
nix shell+direnv, automatic environment loading for people coming from npm, rvm, asdf, or mise - Flake generator: the website generates flakes for version pinned packages you can use as inputs
Role in the ecosystem
Section titled “Role in the ecosystem”nix-versions is the reproducibility on-ramp, version pinning and dev shells that stay friendly to newcomers. It pairs with ntv for an interactive tool-versioning workflow.
Source Code Documentation Support this project