[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging Guix packages?
From: |
Ludovic Courtès |
Subject: |
Re: Debugging Guix packages? |
Date: |
Fri, 22 Jan 2016 18:05:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Pjotr Prins <address@hidden> skribis:
> On Thu, Jan 21, 2016 at 09:55:32PM +0100, Ludovic Courtès wrote:
>> > I wonder how this could be implemented, any ideas?
>>
>> Roughly, we could generate a Scheme file containing the list of phases
>> (the generated build script contains them, but it immediately passes
>> them to ‘gnu-build’ or similar), which could be loaded into Guile. From
>> there we could explicitly manipulate the list of phases and run them.
>>
>> There are complications though, such as the fact that build systems can
>> lack the notion of phases altogether (this is the case of
>> ‘trivial-build-system’, but it may be the only one.) I wonder if we
>> should move phases from the build side to the host side at some point…
>
> How about extending the -K switch with a build phase option where it
> should stop?
I’m really skeptical about the usefulness of such a feature. As Ricardo
suggested earlier, stopping at a specific phase is really easy to do by
hand, on the rare occasions where you actually want that. (Not to
mention that one can also simply hit C-c while the thing is building.)
Ludo’.
- Debugging Guix packages?, Jookia, 2016/01/19
- Re: Debugging Guix packages?, Ricardo Wurmus, 2016/01/19
- Re: Debugging Guix packages?, Christopher Allan Webber, 2016/01/19
- Re: Debugging Guix packages?, Ludovic Courtès, 2016/01/20
- Re: Debugging Guix packages?, Jookia, 2016/01/20
- Re: Debugging Guix packages?, Leo Famulari, 2016/01/20
- Re: Debugging Guix packages?, Ben Woodcroft, 2016/01/20
- Re: Debugging Guix packages?, Ludovic Courtès, 2016/01/21
- Re: Debugging Guix packages?, Pjotr Prins, 2016/01/21
- Re: Debugging Guix packages?, Jookia, 2016/01/21
- Re: Debugging Guix packages?,
Ludovic Courtès <=
- Re: Debugging Guix packages?, Ludovic Courtès, 2016/01/21
- Re: Debugging Guix packages?, Jookia, 2016/01/21
- Re: Debugging Guix packages?, Christopher Allan Webber, 2016/01/21