From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Changing python-wrapper to handle lib/ etc. Date: Thu, 30 Oct 2014 14:12:58 +0100 Message-ID: <87tx2lu2ed.fsf_-_@gnu.org> References: <87bnoyk6g9.fsf@gnu.org> <87wq7kh70n.fsf@gnu.org> <20141029222347.GE29707@debian> 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]:51041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkEQR-00062W-Ow for guix-devel@gnu.org; Fri, 31 Oct 2014 11:49:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjpWq-0005Ct-N3 for guix-devel@gnu.org; Thu, 30 Oct 2014 09:12:45 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:40880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjpWq-0005Cb-Gc for guix-devel@gnu.org; Thu, 30 Oct 2014 09:12:40 -0400 In-Reply-To: <20141029222347.GE29707@debian> (Andreas Enge's message of "Wed, 29 Oct 2014 23:23:47 +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: Andreas Enge Cc: Guix-devel , Federico Beffa Andreas Enge skribis: > On Tue, Oct 28, 2014 at 10:34:48AM +0100, Ludovic Court=C3=A8s wrote: >> Ah right. And what if you again remove Python from =E2=80=98inputs=E2= =80=99, and add >> #:python ,python >> to the arguments? >> That means it will use the actual Python 3.x package, not the wrapper, >> so everything will be visible. The downside is that there will be no >> =E2=80=98python=E2=80=99 command, only =E2=80=98python3=E2=80=99. >>=20 >> Perhaps the right fix will be to change =E2=80=98python-wrapper=E2=80=99= to symlink the >> =E2=80=98lib=E2=80=99 sub-directory of =E2=80=98python=E2=80=99. > > As already stated, I think we should add python as a propagated input to > python-wrapper. The symlinks are just needed between the differently named > python and python3. > > Should we give this a try? I think our messages crossed each other; I wrote: The other option would have been to add =E2=80=98python=E2=80=99 to =E2= =80=98propagated-inputs=E2=80=99, which would also have taken care of sub-directories other than lib/. As a side-effect, it would also pull in the =E2=80=98python3=E2=80=99, = =E2=80=98pydoc3=E2=80=99, etc. commands, but I think it cannot hurt. So yes, I think we should try this. What about making this change in a branch, letting Hydra build it, and then merge it if nothing broke? We=E2=80=99ll also need the patch from in this branch. Do you want to take care of it? :-) TIA, Ludo=E2=80=99.