nix-community / nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
Other
785 stars 50 forks source link

Move most of command-not-found's logic into nix-locate #222

Open figsoda opened 1 year ago

figsoda commented 1 year ago

The current implementation doesn't utilize the shell session, so we can rewrite the logic in rust. This way we don't have to rely on external tools like grep and cat, and also make #126 trivial. Maybe it can also slightly improve the performance