From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 17 08:50:38 2023 Received: (at 60386) by debbugs.gnu.org; 17 Jan 2023 13:50:38 +0000 Received: from localhost ([127.0.0.1]:36126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHmMI-0008SJ-Co for submit@debbugs.gnu.org; Tue, 17 Jan 2023 08:50:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHmMG-0008S7-GR for 60386@debbugs.gnu.org; Tue, 17 Jan 2023 08:50:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHmMB-0005cq-95; Tue, 17 Jan 2023 08:50:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=8tL2mT3HM9BNuK5N8BZYGh/TgQRs7m7juTz8u4HBMLc=; b=MBJaCXtkEPotV9uAolv2 04YwZgPR2r89+hAUDb6hez1I74LlbqupyiQV9SRtqIIR09ka+frRqitE21AnEtJTcGjbSzj/6TdLo AhrgvQLMlmadw8TYmrMQSZzi5WHUGsgue/TJY2NW9ee5OQc1kSUbdt4TZmkPYnSwNJOjMKTD3MoHc 8JX1IEsvdPFX+DlId4+XGxGo5ZFCHnsLyOVlm2TrKFkFq4L3j/Y0axqfKt/a8/KdEmjOK6oACFW2q LVr/GkHbQbjCTW/uKIyDdtseo4809Gqr9YlN4y4LZmxW++Lw7V5sE5CyYYf1WNCTb6apbmpSn/fps hAWRzozmsrk+OQ==; Received: from [193.50.110.246] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHmMA-0000Hd-Ay; Tue, 17 Jan 2023 08:50:30 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Luis Felipe Subject: Re: bug#60386: [PATCH] gnu: Add guile-proba. References: <87358ioeb6.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 =?utf-8?Q?Niv=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Zinc X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 17 Jan 2023 14:50:28 +0100 In-Reply-To: (Luis Felipe's message of "Fri, 13 Jan 2023 15:41:42 +0000") Message-ID: <87edrti82j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60386 Cc: 60386@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Luis Felipe skribis: > On Tuesday, January 10th, 2023 at 10:48, Ludovic Court=C3=A8s wrote: > >> I don=E2=80=99t think =E2=80=98guile-3.0=E2=80=99 and =E2=80=98texinfo= =E2=80=99 need to be propagated, do they? > > They do? If I don't propagate them, running the "proba" script fails beca= use the "proba" library can't be found and running "info guile-proba" the i= nfo command is not found (I just tried in a foreign distro and also using a= pure shell on my Guix system).=20 Check out the section on search paths (info "(guix) Search Paths"). In essence, INFOPATH won=E2=80=99t be set if you don=E2=80=99t have an Info= reader (=E2=80=98info-reader=E2=80=99 or =E2=80=98emacs=E2=80=99) in the profile, = because then you=E2=80=99d have no way to read the Info file. Yet, you shouldn=E2=80=99t force a specific Info reader on the user via =E2=80=98propagated-inputs=E2=80=99. The story is similar for =E2=80=98guile-3.0=E2=80=99. Here, you should wra= p or modify the =E2=80=98proba=E2=80=99 script such that it automatically adds its own $PKG/share/guile/site/3.0 to its .scm search path (and likewise for .go files). See for example the =E2=80=98mcron=E2=80=99 or =E2=80=98shepherd=E2=80=99 s= cript of the same-named packages, or see the =E2=80=98wrap-guilescript=E2=80=99 phase of the =E2=80= =98guilescript=E2=80=99 package. HTH! Ludo=E2=80=99.