From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add tinyproxy. Date: Thu, 12 Jun 2014 15:30:38 +0200 Message-ID: <8761k6i7b5.fsf@gnu.org> References: <1402571185-31488-1-git-send-email-jmd@gnu.org> <87d2eeibjt.fsf@gnu.org> <20140612121950.GA9701@jocasta.intra> 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]:37442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv55d-0000X2-K4 for guix-devel@gnu.org; Thu, 12 Jun 2014 09:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv55X-0007id-L0 for guix-devel@gnu.org; Thu, 12 Jun 2014 09:30:49 -0400 In-Reply-To: <20140612121950.GA9701@jocasta.intra> (John Darrington's message of "Thu, 12 Jun 2014 14:19:51 +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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: John Darrington Cc: guix-devel@gnu.org, John Darrington John Darrington skribis: > On Thu, Jun 12, 2014 at 01:59:02PM +0200, Ludovic Court??s wrote: > Hello! >=20=20=20=20=20=20 >=20=20=20=20=20=20 > Lastly, prefer adding a phase before ???build??? rather than replaci= ng > ???build??? just to call it afterwards. >=20=20=20=20=20=20 > So, like this: >=20=20=20=20=20=20 > (alist-cons-before > 'build 'pre-build > (lambda ... > ... > (with-output-to-file our-catalog > (lambda () > ...)) > #t) > %standard-phases) > > I'm not sure if this will work. I need to set an environment variable, a= nd presumably 'build and 'pre-build > run in separate environments? No, they run in the same environments, so it essentially has the same semantics as the original version. Ludo=E2=80=99.