[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [WIP][PATCH] profiles: info-dir-file: Don't consider unwanted manife
Re: [WIP][PATCH] profiles: info-dir-file: Don't consider unwanted manifest entries
Mon, 01 Jan 2018 18:37:47 +0800
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
address@hidden (Ludovic Courtès) writes:
> address@hidden (宋文武) 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.
|[Prev in Thread]
||[Next in Thread]|
- Re: [WIP][PATCH] profiles: info-dir-file: Don't consider unwanted manifest entries,