Hello, Pierre Neidhardt <m...@ambrevar.xyz> skribis:
> Thanks Nicolò, your feedback was very useful! > > So it's not program-not-found but command-not-found and it's define > here: > > > https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/programs/command-not-found > > Then I found this > > https://github.com/NixOS/nixos-channel-scripts > > All this is pretty clear and simple. > > The main thing I wonder at this point is when the > "generate-programs-index.cc" file is run. > > What would be the good entry point in substitute servers to populate > such a database? The database could be updated upon reception of a build-completion notification from build machines or from the Data Service, like Chris proposed. (Or, if it were ‘guix publish’, it could do that on demand, the first time a narinfo is requested.) Ludo’.