all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: "move-phase-after"?
Date: Wed, 07 Sep 2016 14:20:10 +0200	[thread overview]
Message-ID: <87inu7oq9x.fsf@gnu.org> (raw)
In-Reply-To: <20160906125449.29c60764@scratchpost.org> (Danny Milosavljevic's message of "Tue, 6 Sep 2016 12:54:49 +0200")

Hello,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> On Tue, 6 Sep 2016 10:03:34 +0200
> Hartmut Goebel <h.goebel@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’.

  parent reply	other threads:[~2016-09-07 12:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06  8:03 "move-phase-after"? Hartmut Goebel
2016-09-06 10:54 ` "move-phase-after"? Danny Milosavljevic
2016-09-06 13:06   ` "move-phase-after"? Danny Milosavljevic
2016-09-07 12:20   ` Ludovic Courtès [this message]
2016-09-08  8:11     ` "move-phase-after"? Hartmut Goebel
2016-09-06 17:11 ` "move-phase-after"? Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inu7oq9x.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.