guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/4] environment: Add '--debug' flag.


From: Ludovic Courtès
Subject: Re: [PATCH 4/4] environment: Add '--debug' flag.
Date: Wed, 20 Jul 2016 12:35:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi!

David Craven <address@hidden> skribis:

> This is one of the three improvements I was thinking about. I thought
> I'd start with low hanging fruit. The other two are:
>
> 1. I'd like to use overlay fs (like docker) and create a new overlay
> for each phase to easily revert a phase.

That would be fun.  I think it could/should be a separate tool.  That is
guix-daemon would continue to operate in its own way, but we’d have
another tool that would do what you suggest.  WDYT?

That seems like quite a bit of work, though.

> 2. I'd like logs for each phase to be put into separate files and
> automatically written to disk inside the build directory.
>  * It's hard to find the logs of a particular phase.
>  * If build directory isn't kept then the logs are automatically deleted

If you use Emacs, ‘guix-build-log-mode’ is awesome: it allows you to
fold/unfold build phases, to jump from one build phase to the next, and
does syntax highlighting:

  https://www.gnu.org/software/guix/manual/html_node/Emacs-Build-Log.html

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]