From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 4/4] environment: Add '--debug' flag. Date: Wed, 20 Jul 2016 12:35:25 +0200 Message-ID: <87wpkgbnrm.fsf@gnu.org> References: <20160719164916.6597-1-david@craven.ch> <20160719164916.6597-5-david@craven.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPoqn-0002zY-IY for guix-devel@gnu.org; Wed, 20 Jul 2016 06:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPoqm-0004zq-6m for guix-devel@gnu.org; Wed, 20 Jul 2016 06:35:37 -0400 In-Reply-To: (David Craven's message of "Tue, 19 Jul 2016 20:10:19 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel , Guix-devel Hi! David Craven 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=E2=80=99d 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, =E2=80=98guix-build-log-mode=E2=80=99 is awesome: it allo= ws 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=E2=80=99.