[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "move-phase-after"?
From: |
Ludovic Courtès |
Subject: |
Re: "move-phase-after"? |
Date: |
Wed, 07 Sep 2016 14:20:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello,
Danny Milosavljevic <address@hidden> skribis:
> On Tue, 6 Sep 2016 10:03:34 +0200
> Hartmut Goebel <address@hidden> 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’.