From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: libxml2-python Date: Fri, 08 Mar 2013 00:25:25 +0100 Message-ID: <87d2vakd22.fsf@gnu.org> References: <201303062343.03155.andreas@enge.fr> <5137E3B2.4090801@gmail.com> <201303072338.13585.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDkBt-0005BG-El for bug-guix@gnu.org; Thu, 07 Mar 2013 18:25:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDkBs-0007fm-8s for bug-guix@gnu.org; Thu, 07 Mar 2013 18:25:37 -0500 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=41776 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDkBs-0007dQ-3s for bug-guix@gnu.org; Thu, 07 Mar 2013 18:25:36 -0500 In-Reply-To: <201303072338.13585.andreas@enge.fr> (Andreas Enge's message of "Thu, 7 Mar 2013 23:38:13 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > I tried adding glibc as an explicit input and to overwrite the path in=20 > setup.py. However, that does not use the glibc of the CPATH, but builds=20 > another one on top of it. Do I understand it correctly that I need to use= =20 > glibc-final instead? Glibc is automatically added as an input, under the name =E2=80=9Cglibc=E2= =80=9D (see build-system/gnu.scm). So you can just do something like: (lambda* (#:key inputs #:allow-other-keys) (substitute* "setup.py" (("/usr/include") (string-append (assoc-ref inputs "glibc") "/include")))) HTH, Ludo=E2=80=99.