OleMussmann / Nix-Package-Search

Cache the nix package list, query and sort by relevance
MIT License
16 stars 1 forks source link

`nps` not listing any packages #3

Open OleMussmann opened 1 year ago

OleMussmann commented 1 year ago

Only the package output is missing. "Querying and caching packages..." and the --help output are printed.

OleMussmann commented 1 year ago

This happens in a flakes-based setup without any channels. This causes nix-env -qaP to come up empty, and thus creating an empty cache. A solution would be to (optionally) use nix search nixpkgs as a source instead.

N.B. This is the same approach that would fix #2 .