Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/9999years/nix-query
https://github.com/9999years/nix-query
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/9999years/nix-query
- Owner: 9999years
- License: agpl-3.0
- Created: 2020-01-28T21:02:34.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2020-09-26T21:14:54.000Z (over 4 years ago)
- Last Synced: 2024-09-28T09:21:23.847Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 395 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# nix-query
A cached [fuzzy-finder][skim] 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.][screenshot]
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.
[skim]: https://github.com/lotabout/skim
[Nix]: https://nixos.org/nix/
[screenshot]: https://raw.githubusercontent.com/9999years/nix-query/master/img/screenshot-gzip.png