1 stable release

1.0.2 Jan 31, 2020

#33 in #fuzzy-search


714 lines


A cached fuzzy-finder for the Nix package manager.

A screenshot of nix-query running, displaying a fuzzy-search for gzip and a preview pane displaying information about the package such as its version, license, long description, homepage, and more.

nix-query stores a cache (only package attribute names, about 2MB for nixos-stable and nixpkgs-unstable combined) which allows it to instantly show results (even between terminals), unlike nix-env --query --available, which can take a good bit to finish a query.

When you update your channels / packages, run nix-query --clear-cache to delete the cache file. Automatic cache expiry based on ~/.nix-defexpr coming... maybe at some point in the future if I want to? Or if you submit a pull request?

Uses skim for fuzzy-finding.


~319K SLoC