1 stable release
1.0.2 | Jan 31, 2020 |
---|
#14 in #nix-package
380KB
714 lines
nix-query
A cached fuzzy-finder for the Nix package manager.
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.
Dependencies
~11–21MB
~293K SLoC