https://github.com/unode/nixs
A quick nix command-line search using the same strategy as https://nixos.org/nixos/packages.html
https://github.com/unode/nixs
Last synced: 16 days ago
JSON representation
A quick nix command-line search using the same strategy as https://nixos.org/nixos/packages.html
- Host: GitHub
- URL: https://github.com/unode/nixs
- Owner: unode
- License: mit
- Created: 2016-11-10T21:05:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-03T13:31:40.000Z (over 7 years ago)
- Last Synced: 2025-01-10T00:46:29.059Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nixs
nixs for *nix search* is a quick command-line tool for searching nix/nixos packages using the same strategy and files as [the online package search](https://nixos.org/nixos/packages.html).
## Usage
Add nixs to your path and run:
nixs
such as:
nixs disn
and you should see something like:
Attribute name Package name Description
disnix disnix-0.6.1 A Nix-based distributed service deployment tool
disnixos disnixos-0.5 Provides complementary NixOS infrastructure deployment to Disnix
## Cache
### Force update
This script uses the package cache from the above URL.
The cache is re-downloaded automatically if the file is older than 6 hours.
If for some reason you still need to force an update you can do so with:
nixs -u
### Ignore age
If on the other hand you don't want to automatically update every 6 hours or if you are working offline after having downloaded the cache you can use:
nixs -i
to ignore the age of the cache.