Hi!

David Craven <da...@craven.ch> 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