From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 06/10] gnu: flex: Add m4 as a native input. Date: Tue, 19 May 2015 18:25:17 +0200 Message-ID: <87vbfoedqq.fsf@gnu.org> References: 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]:53752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YukKe-0000Es-5X for Guix-devel@gnu.org; Tue, 19 May 2015 12:25:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YukKX-0002ej-Cn for Guix-devel@gnu.org; Tue, 19 May 2015 12:25:28 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YukKX-0002eX-9I for Guix-devel@gnu.org; Tue, 19 May 2015 12:25:21 -0400 In-Reply-To: (Manolis Ragkousis's message of "Tue, 19 May 2015 01:20:44 +0300") 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: Manolis Ragkousis Cc: Guix-devel Manolis Ragkousis skribis: > From 59edf7d33961ffd6dd56567caaca1a23a109d144 Mon Sep 17 00:00:00 2001 > From: Manolis Ragkousis > Date: Tue, 12 May 2015 20:45:41 +0300 > Subject: [PATCH 06/10] gnu: flex: Add m4 as a native input. > > * gnu/packages/flex (flex): Add m4 as a native input. > --- > gnu/packages/flex.scm | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm > index e76535c..3be777a 100644 > --- a/gnu/packages/flex.scm > +++ b/gnu/packages/flex.scm > @@ -60,6 +60,10 @@ > (inputs (alist-delete "flex" (package-inputs bison)))))) > `(("bison" ,bison-for-tests) > ("indent" ,indent)))) > + ;; m4 is not present in PATH when cross-building > + (native-inputs (if (%current-target-system) > + `(("m4" ,m4)) > + '())) Keep it like you did for Bison: add M4 unconditionally. OK with this change for wip-hurd and/or core-updates. Ludo=E2=80=99.