From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: The new patch method and mit-krb5 Date: Wed, 30 Oct 2013 22:35:55 +0100 Message-ID: <87wqkuh26c.fsf@gnu.org> References: <87zjprpr1h.fsf@netris.org> <877gcukc01.fsf@gnu.org> <20131030162016.GA16421@debian> <87ob66iq0r.fsf@gnu.org> <20131030183514.GA17003@debian> 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]:35212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbdQo-0004bN-SN for guix-devel@gnu.org; Wed, 30 Oct 2013 17:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbdQi-00039F-Ma for guix-devel@gnu.org; Wed, 30 Oct 2013 17:36:02 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:39103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbdQi-00039B-Gq for guix-devel@gnu.org; Wed, 30 Oct 2013 17:35:56 -0400 In-Reply-To: <20131030183514.GA17003@debian> (Andreas Enge's message of "Wed, 30 Oct 2013 19:35:14 +0100") 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: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Wed, Oct 30, 2013 at 07:15:32PM +0100, Ludovic Court=C3=A8s wrote: >> The notion of phases is internal to the build system, so we can=E2=80=99= t really >> do that. > > Well, the phases are part of the package object. So should it not be able > to extract them? Or does the source field not have any access to the > arguments field? First objects are distinct from object, and there=E2=80= =99s no connection from the to the containing (if any). Second, the =E2=80=98arguments=E2=80=99 field is passed as-is, uninterprete= d, to the build system. And most of the time the =E2=80=98arguments=E2=80=99 field h= as no #:phases argument anyway. Just to say that the current design wouldn=E2=80=99t lend itself to this so= rt of thing. Perhaps phases should be a more fundamental thing, imposed on all build systems, but thinking through such a change would require a stronger incentive, IMO. :-) Thanks, Ludo=E2=80=99.