Closed wmertens closed 2 years ago
Perhaps an extra index could be built that only contains bin and sbin paths, and only allows full string search?
The problem is that nix-index is a lot slower than command-not-found: https://github.com/NixOS/nixpkgs/issues/39789#issuecomment-1000276113
for small systems, it would also be nice to /only/ have the binaries in the db, but that's a different issue I guess.
Perhaps an extra index could be built that only contains bin and sbin paths, and only allows full string search?
The problem is that nix-index is a lot slower than command-not-found: https://github.com/NixOS/nixpkgs/issues/39789#issuecomment-1000276113
for small systems, it would also be nice to /only/ have the binaries in the db, but that's a different issue I guess.