From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: The new patch method and mit-krb5 Date: Wed, 30 Oct 2013 19:35:14 +0100 Message-ID: <20131030183514.GA17003@debian> References: <87zjprpr1h.fsf@netris.org> <877gcukc01.fsf@gnu.org> <20131030162016.GA16421@debian> <87ob66iq0r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbajd-0007Cc-Rc for guix-devel@gnu.org; Wed, 30 Oct 2013 14:43:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbajW-0001pg-Hp for guix-devel@gnu.org; Wed, 30 Oct 2013 14:43:17 -0400 Content-Disposition: inline In-Reply-To: <87ob66iq0r.fsf@gnu.org> 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: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: guix-devel@gnu.org On Wed, Oct 30, 2013 at 07:15:32PM +0100, Ludovic Courtès wrote: > The notion of phases is internal to the build system, so we can’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? We might distinguish the case that there is a phase argument inside the arguments field (in which case we extract 'unpack) from the usual case where nothing is specified and we do the usual thing. > > This would be more flexible. For instance, we could use it to derive a udev > > source tarball out of the systemd sources, which would then be returned via > > guix build udev -S > Nice example. ;-) > Though I suppose this case is easily addressed with just (chdir "udev") > or something similar no? No idea, I did not have a look at it. Andreas