nixos-channel-scripts icon indicating copy to clipboard operation
nixos-channel-scripts copied to clipboard

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

Open Ma27 opened this issue 5 years ago • 0 comments

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?

Ma27 avatar Apr 23 '20 16:04 Ma27