`programs.sqlite`, `nix-index`, `nix-locate`, `comma` oh my

That would blow up the nixpkgs repo significantly and be a nightmare to maintain (for some package the list of generated files depends on option flags, target system,…).

3 Likes

The only world where I can imagine that working is if we sharply reduce the scope to some crucial files.
For example, if mainProgram is set, we could enforce that $bin/bin/${mainProgram} or $out/bin/${mainProgram} exists.
But we already implicitly do that with e.g. versionCheckHook (which we already heavily encourage packages to use).
So I don’t think this is a fruitful proposal.