From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 1/2] gnu: Add numpy Date: Sun, 02 Nov 2014 19:21:35 +0100 Message-ID: <87ppd5laz4.fsf@gnu.org> References: <87bnoyk6g9.fsf@gnu.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]:45352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkzmC-0006YD-5D for guix-devel@gnu.org; Sun, 02 Nov 2014 13:21:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xkzm6-0000Lr-NP for guix-devel@gnu.org; Sun, 02 Nov 2014 13:21:20 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:44092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkzm6-0000Ln-GD for guix-devel@gnu.org; Sun, 02 Nov 2014 13:21:14 -0500 In-Reply-To: <87bnoyk6g9.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 26 Oct 2014 19:56:17 +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: Federico Beffa Cc: Guix-devel ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > This is because Python is not added to =E2=80=98LIBRARY_PATH=E2=80=99, ri= ght? > > I think this is fixed by this patch: > > --- a/guix/build-system/python.scm > +++ b/guix/build-system/python.scm > @@ -110,10 +110,11 @@ prepended to the name." > '()) > ,@inputs >=20=20 > + ("python" ,python) > + > ;; Keep the standard inputs of 'gnu-build-system= '. > ,@(standard-packages))) > - (build-inputs `(("python" ,python) > - ,@native-inputs)) > + (build-inputs native-inputs) > (outputs outputs) > (build python-build) > (arguments (strip-keyword-arguments private-keywords arguments)= )))) FTR, this patch isn=E2=80=99t needed at all. What mattered here was to fix =E2=80=98python-wrapper=E2=80=99 to have a lib/ sub-directory, which Andrea= s has just done in =E2=80=98wip-python=E2=80=99. Ludo=E2=80=99.