Hello, Danny Milosavljevic <dan...@scratchpost.org> skribis:
> On Tue, 6 Sep 2016 10:03:34 +0200 > Hartmut Goebel <h.goe...@crazy-compilers.com> wrote: > >> for some package I need to switch the install and check phase. Could >> please someone point me to a function like "move-phase-after"? Thanks. > > I don't think this exists yet. > > See the ./guix/build/utils.scm for the macro definition. > > You would have to do something like > > (let ((check (assoc-ref %standard-phases 'check))) > (modify-phases %standard-phases > (delete 'check) > (add-after 'install 'check > check))) Yeah, that’s what I would do. I don’t think we need to extend ‘modify-phases’ just for this. Ludo’.