l...@gnu.org (Ludovic Courtès) writes: > Hello! > > iyzs...@member.fsf.org (宋文武) skribis: > >> Currently we run profile hooks for all manifest inputs, so if you >> install a new package to your profile, all profile hooks will be run >> again, even if the new package doesn't provide info manuals, man pages, >> etc. Ideally only interested hooks need to be run, eg: if the new >> package has info manuals, then the 'info-dir-file' hook will run. >> >> I get it works somehow, but breaks the '--dry-run' functionality which I >> have no idea how to preserve... > > Indeed. I had the idea of adding a notion of “build rounds”, which > would also be useful for grafts: you’d register (client-side) an extra > build round to be run after the current one. For grafts, the first > round would return the ungrafted derivations. For profile hooks, the > first round would return the profile without any hooks. “-n” would > display what would be built/downloaded as part of the first round, > ignoring subsequent rounds. >
Hello, happy new year! So I have just disable profile hooks for the 'dry-run' now and send patches to guix-patches.