NixOS/nixos-channel-scripts

[question] Running `generate-programs-index` on `nixos-rebuild`?

Ma27 opened this issue · 0 comments

Ma27 commented

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?