Just wondered if it would make sense to (optionally) run generate-programs-index on a nixos-rebuild.
A benefit of this would be that I can use the command-not-found-handler from NixOS without using channels (I pin nixpkgs etc. on my own locally and generate a NIX_PATH using nix.nixPath with the corresponding paths).
I guess something like this would become necessary in the future anyways when flakes replace channels, right?
Just wondered if it would make sense to (optionally) run
generate-programs-indexon anixos-rebuild.A benefit of this would be that I can use the
command-not-found-handlerfrom NixOS without using channels (I pin nixpkgs etc. on my own locally and generate aNIX_PATHusingnix.nixPathwith the corresponding paths).I guess something like this would become necessary in the future anyways when flakes replace channels, right?