cannot search in different nix channels
Closed this issue · 4 comments
hi, i've been using nix-search-cli for quite some time now and it's awesome for searching packages from the command line, but i wanted to try searching packages from the command line with sources from other channels but i didn't get anything
first i added new channel with this command
nix-channel --add https://channels.nixos.org/nixos-22.11-small nixos-22.11-small
and i update channel with this command
nix-channel --update
then i search package in this channel like this but i didn't get anything
Hi, glad to hear you're using and enjoying nix-search
! This CLI program doesn't interact with your local channels at all; it only searches the Elasticsearch index that powers https://search.nixos.org/packages. The only valid values for --channel
are unstable
and whatever pinned version they have on the site, currently 24.05
:
Sorry for the confusion!
I updated the cli help command to hopefully make this less confusing for the future:
# ... on a specific channel, default "unstable". The valid channel
# values are what the search.nixos.org index has, check
# that website to see what options they show in their interface.
nix-search --channel=unstable python3
I updated the cli help command to hopefully make this less confusing for the future:
# ... on a specific channel, default "unstable". The valid channel # values are what the search.nixos.org index has, check # that website to see what options they show in their interface. nix-search --channel=unstable python3
haha thanks, i have realize it since a few days ago. sorry for my confusion.
No problem at all, thanks for writing in. If you have any other questions or suggestions, please let me know.