Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes:
> Mark H Weaver <m...@netris.org> skribis: > >> I think it would be quite unfortunate if _every_ graft had to run >> _every_ graft hook, or if every graft hook had to be defined in >> (guix grafts) and/or (guix build graft). >> >> It's reasonable to have a few global graft hooks, e.g. for handling >> debugging information, but I would greatly prefer for Guix to also have >> a mechanism allowing individual packages or build systems to introduce >> graft hooks without modifying (guix grafts) or (guix build graft), and >> for such a mechanism to be used for Racket and its libraries. > > Sure, like I wrote, a more extensible solution along the lines of what > Timothy and you suggest sounds better long-term. It just happens to be > harder to implement today (in particular until ‘wip-build-systems-gexp’ > is merged), and not entirely clear how this could work, as discussed > with Timothy. That's fine. This solution is fine for now, as long as the number of graft hooks is fairly small. Maybe we can revisit this after 'wip-build-systems-gexp' is merged. Thanks, Mark