NixOS / nixos-search

Search NixOS packages and options
https://search.nixos.org
MIT License
422 stars 109 forks source link

search over pname as well ? #827

Open teto opened 2 months ago

teto commented 2 months ago

Thanks for the beautiful tool, which made nix training a lot easier for my friends and colleagues. I wanted to snipe (affectionately of course) the reporter at https://github.com/NixOS/nixpkgs/issues/337228 mentioning that he could have searched for the plugin on search.nixos.org . I tried https://search.nixos.org/packages?channel=24.05&show=vimPlugins.lazy-nvim&from=0&size=50&sort=relevance&type=packages&query=lazy.nvim and it found nothing. lazy-nvim works though. We rename lazy.nvim to lazy-nvim because that's the recommendation for nixpkgs. The name is vimplugin-lazy.nvim so it doesn't match lazy.nvim either. I believe the search engine should search into pname as well, which in this case is the actual name of the plugin lazy.nvim.

NB: I suspect it was already reported but couldn't find any duplicate.