Closed
Description
@ttuegel, let's make this a tracking ticket for hook redesign.
I'm collecting tickets of things that should be fixed in the redesign:
- Get LocalBuildInfo in pre-test hook #2599 - We should make LBI uniformly available to all hooks when it is available
- LocalBuildInfo should change at build time when components are selected #2910 - Hooks should operate on per-component level
- Proposal for a Cabal plugin API (inversion of control) #2395 - This was a proposal to invert control to external processes, so that you could add hooks without requiring a build against a version of Cabal
- Lessons learned from Custom #3065 - I wrote up some lessons I had learned from Custom
- install hook (Custom setup) is not called on Setup copy/register #1805 - install hook is redundant with copy/register hook
- localPkgDescr is frequently out-of-date #3606 - only the configure pre-hook should return a
HookedLocalBuildInfo
; the rest should not! - Way to pass custom options to hook script #3625 - no way to pass custom arguments to hooks
- Revert Revert "Generalize HookedBuildInfo to work with any type of component." #3627 -
HookedBuildInfo
should support all different component types, not just library and executable