From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Debugging Guix packages? Date: Thu, 21 Jan 2016 21:55:32 +0100 Message-ID: <8760ymy7nf.fsf@gnu.org> References: <20160119024256.GA21542@novena-choice-citizen.lan> <874me7x4zd.fsf@gnu.org> <20160121002134.GA14628@novena-choice-citizen.lan> 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]:52432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMMGY-000340-UG for guix-devel@gnu.org; Thu, 21 Jan 2016 15:55:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMMGV-0004rk-OB for guix-devel@gnu.org; Thu, 21 Jan 2016 15:55:38 -0500 In-Reply-To: <20160121002134.GA14628@novena-choice-citizen.lan> (Jookia's message of "Thu, 21 Jan 2016 11:21:34 +1100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Jookia <166291@gmail.com> Cc: guix-devel@gnu.org Jookia <166291@gmail.com> skribis: > On Wed, Jan 20, 2016 at 11:26:14PM +0100, Ludovic Court=C3=A8s wrote: >> Yes, I agree that this would be nice. > > I wonder how this could be implemented, any ideas? Vague 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 =E2=80=98gnu-build=E2=80=99 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 =E2=80=98trivial-build-system=E2=80=99, but it may be the only one.) I won= der if we should move phases from the build side to the host side at some point=E2=80= =A6 Ludo=E2=80=99.