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: Tue, 05 Nov 2013 14:31:21 +0100 Message-ID: <87y553gel2.fsf@gnu.org> References: <87zjprpr1h.fsf@netris.org> <877gcukc01.fsf@gnu.org> <20131030162016.GA16421@debian> <87ob66iq0r.fsf@gnu.org> <87a9hknkgf.fsf@netris.org> 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]:40318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdgjA-0006cz-Ca for guix-devel@gnu.org; Tue, 05 Nov 2013 08:31:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdgj5-0008PT-3W for guix-devel@gnu.org; Tue, 05 Nov 2013 08:31:28 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdgj4-0008PH-TP for guix-devel@gnu.org; Tue, 05 Nov 2013 08:31:23 -0500 In-Reply-To: <87a9hknkgf.fsf@netris.org> (Mark H. Weaver's message of "Mon, 04 Nov 2013 12:30:24 -0500") 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: Mark H Weaver Cc: guix-devel@gnu.org Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> What we could do is to add a =E2=80=98snippet=E2=80=99 field in = where users >> could provide an expression to use as the patch phase. > > How about adding a 'snippet' field to where users could provide > an expression to use as the _unpack_ phase? That's really what we need > here, and it would be nice to support things other than 'tar'. Currently the =E2=80=98unpack=E2=80=99 phase is done by the build system. = We could imagine feeding the build system with a directory instead of a tarball, and thus handling the unpacking in an intermediate derivation. However that would make things more complex (esp. during bootstrapping), and I=E2=80=99m not sure it=E2=80=99s really needed. Anyway, if we do find that it=E2=80=99s really needed in the future, we can revisit that (after 0.5, that is ;-)). Ludo=E2=80=99.