From unknown Sun Jun 15 08:42:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default Resent-From: Arne Babenhauserheide Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Sep 2013 09:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15286 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 15286@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Reply-To: arne_bab@web.de Received: via spool by submit@debbugs.gnu.org id=B.137845978426685 (code B ref -1); Fri, 06 Sep 2013 09:30:03 +0000 Received: (at submit) by debbugs.gnu.org; 6 Sep 2013 09:29:44 +0000 Received: from localhost ([127.0.0.1]:43109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHsMI-0006wK-N8 for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35245) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHsMG-0006w6-Su for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHsM5-0004Cw-6y for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsM5-0004Cs-3p for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsLy-0004Wp-Qb for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHsLs-0004BC-Qa for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:22 -0400 Received: from mout.web.de ([212.227.17.12]:64160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsLs-0004Au-Hb for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:16 -0400 Received: from kaverne.draketo.de ([212.255.16.46]) by smtp.web.de (mrweb101) with ESMTPA (Nemesis) id 0LgYG1-1VnLkU2EhZ-00nz3p for ; Fri, 06 Sep 2013 11:29:15 +0200 Date: Fri, 06 Sep 2013 11:29:15 +0200 Message-ID: <874n9yqowk.wl%arne_bab@web.de> From: Arne Babenhauserheide User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 Emacs/24.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:KwR1Mzd1jo45Yusi6IDr8BUP+B5H5jfmVOjJmoTT4/qefnl3d99 HHnCVjZQuvz1VaIh5j8e7+VWOveA3RfSVG40LGTD1L/72Gp7SFU/raVt/4BLB8fE++nBkM2 kqWTk2nIJ0g1XAne8aXpI5h3xBdBzgGyChskHhrZ1KRpAKs/o9Hqlrx6Cp0ERE+hv7EsGV6 R9aJg23f2ux24uA14ayIA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.4 (---) Dear Guix Hackers, Currently to install a local package definition, I have to adjust the GUILE= _LOAD_PATH by hand: GUILE_LOAD_PATH=3D. guix package -e '(@ (mercurial) hg)' This could be much clearer if the $pwd were in the load path automatically. Even clearer could be something like overlays as discussed on guix-devel.= =C2=B9 Examples of usage could be: # install from an explicit definition file guix package --file mercurial.scm -i mercurial=20 # install from a directory with many scheme files: essentially just # adds the directory and subdirectories to the load path. guix package --overlay . -i mercurial=20 With the obvious short forms: (--file | -f) (--overlay | -o) Overlay and file might be used multiple times to adjust the available packages. Adding the local path to the package would be a first step, but it would be unnecessary if there were a way to define additional files and overlays. Best wishes, Arne =C2=B9: http://lists.gnu.org/archive/html/guix-devel/2013-08/msg00127.html From unknown Sun Jun 15 08:42:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: arne_bab@web.de Subject: bug#15286: closed (Re: bug#15286: Add the current directory as GUILE_LOAD_PATH by default) Message-ID: References: <87bo462lsc.fsf@gnu.org> <874n9yqowk.wl%arne_bab@web.de> X-Gnu-PR-Message: they-closed 15286 X-Gnu-PR-Package: guix Reply-To: 15286@debbugs.gnu.org Date: Fri, 06 Sep 2013 12:11:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1378469463-13931-1" This is a multi-part message in MIME format... ------------=_1378469463-13931-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15286: Add the current directory as GUILE_LOAD_PATH by default which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15286@debbugs.gnu.org. --=20 15286: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15286 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1378469463-13931-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15286-done) by debbugs.gnu.org; 6 Sep 2013 12:10:32 +0000 Received: from localhost ([127.0.0.1]:43469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHurv-0003bw-2r for submit@debbugs.gnu.org; Fri, 06 Sep 2013 08:10:31 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:52173) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHurs-0003bn-E3 for 15286-done@debbugs.gnu.org; Fri, 06 Sep 2013 08:10:29 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id F034614E5; Fri, 6 Sep 2013 14:10:27 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nh3y-5s-vLTm; Fri, 6 Sep 2013 14:10:27 +0200 (CEST) Received: from pluto (unknown [193.50.110.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B9C0611CC; Fri, 6 Sep 2013 14:10:27 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Arne Babenhauserheide Subject: Re: bug#15286: Add the current directory as GUILE_LOAD_PATH by default References: <874n9yqowk.wl%arne_bab@web.de> Date: Fri, 06 Sep 2013 14:10:27 +0200 In-Reply-To: <874n9yqowk.wl%arne_bab@web.de> (Arne Babenhauserheide's message of "Fri, 06 Sep 2013 11:29:15 +0200") Message-ID: <87bo462lsc.fsf@gnu.org> User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 15286-done Cc: 15286-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 1.0 (+) Arne Babenhauserheide skribis: > Currently to install a local package definition, I have to adjust the GUI= LE_LOAD_PATH by hand: > > GUILE_LOAD_PATH=3D. guix package -e '(@ (mercurial) hg)' > > This could be much clearer if the $pwd were in the load path automaticall= y. As usual, it is a bad idea to include =E2=80=98.=E2=80=99 in the search pat= h, because it makes it easy to unwillingly execute untrusted code. More generally, =E2=80=98GUILE_LOAD_PATH=E2=80=99 is a user environment var= iable (like $PATH, $CPATH, etc.), so it=E2=80=99s up to the user, not to Guix, to set i= t up correctly. So I=E2=80=99m closing this bug, but of course, I remain open to discussion= s on improving Guix to better support =E2=80=9Coverlays=E2=80=9D. Thanks! Ludo=E2=80=99. ------------=_1378469463-13931-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Sep 2013 09:29:44 +0000 Received: from localhost ([127.0.0.1]:43109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHsMI-0006wK-N8 for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35245) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHsMG-0006w6-Su for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHsM5-0004Cw-6y for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsM5-0004Cs-3p for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:29:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsLy-0004Wp-Qb for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHsLs-0004BC-Qa for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:22 -0400 Received: from mout.web.de ([212.227.17.12]:64160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsLs-0004Au-Hb for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:16 -0400 Received: from kaverne.draketo.de ([212.255.16.46]) by smtp.web.de (mrweb101) with ESMTPA (Nemesis) id 0LgYG1-1VnLkU2EhZ-00nz3p for ; Fri, 06 Sep 2013 11:29:15 +0200 Date: Fri, 06 Sep 2013 11:29:15 +0200 Message-ID: <874n9yqowk.wl%arne_bab@web.de> From: Arne Babenhauserheide To: bug-guix@gnu.org Subject: Add the current directory as GUILE_LOAD_PATH by default User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:KwR1Mzd1jo45Yusi6IDr8BUP+B5H5jfmVOjJmoTT4/qefnl3d99 HHnCVjZQuvz1VaIh5j8e7+VWOveA3RfSVG40LGTD1L/72Gp7SFU/raVt/4BLB8fE++nBkM2 kqWTk2nIJ0g1XAne8aXpI5h3xBdBzgGyChskHhrZ1KRpAKs/o9Hqlrx6Cp0ERE+hv7EsGV6 R9aJg23f2ux24uA14ayIA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: arne_bab@web.de 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.4 (---) Dear Guix Hackers, Currently to install a local package definition, I have to adjust the GUILE= _LOAD_PATH by hand: GUILE_LOAD_PATH=3D. guix package -e '(@ (mercurial) hg)' This could be much clearer if the $pwd were in the load path automatically. Even clearer could be something like overlays as discussed on guix-devel.= =C2=B9 Examples of usage could be: # install from an explicit definition file guix package --file mercurial.scm -i mercurial=20 # install from a directory with many scheme files: essentially just # adds the directory and subdirectories to the load path. guix package --overlay . -i mercurial=20 With the obvious short forms: (--file | -f) (--overlay | -o) Overlay and file might be used multiple times to adjust the available packages. Adding the local path to the package would be a first step, but it would be unnecessary if there were a way to define additional files and overlays. Best wishes, Arne =C2=B9: http://lists.gnu.org/archive/html/guix-devel/2013-08/msg00127.html ------------=_1378469463-13931-1-- From unknown Sun Jun 15 08:42:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default Resent-From: Arne Babenhauserheide Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 13 Sep 2013 23:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15286 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 15286-done@debbugs.gnu.org Received: via spool by 15286-done@debbugs.gnu.org id=D15286.137911355325624 (code D ref 15286); Fri, 13 Sep 2013 23:06:01 +0000 Received: (at 15286-done) by debbugs.gnu.org; 13 Sep 2013 23:05:53 +0000 Received: from localhost ([127.0.0.1]:34950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKcQy-0006fC-Ir for submit@debbugs.gnu.org; Fri, 13 Sep 2013 19:05:52 -0400 Received: from mout.web.de ([212.227.17.11]:60692) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKcQw-0006ev-71 for 15286-done@debbugs.gnu.org; Fri, 13 Sep 2013 19:05:50 -0400 Received: from fluss.localnet ([212.255.235.232]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MCqkB-1VB1nA0YuB-009kea for <15286-done@debbugs.gnu.org>; Sat, 14 Sep 2013 01:05:43 +0200 From: Arne Babenhauserheide Date: Sat, 14 Sep 2013 01:05:42 +0200 Message-ID: <1983838.hHcTjoUhmn@fluss> User-Agent: KMail/4.11.1 (Linux/3.8.13-gentoo; KDE/4.11.1; x86_64; ; ) In-Reply-To: <87bo462lsc.fsf@gnu.org> References: <874n9yqowk.wl%arne_bab@web.de> <87bo462lsc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5016077.ogBmmWGY02"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:Xv3OsX3EkOvIRhQJKnrDTSPPpij//z1LRtQXjFLLTYpfVexoSr8 lmQFADaS3YLKsM9ypS/5msLkjmVCci5iJ0/kAX08r3Po8lNpORSbTDGAjPPUp41UFFz3821 Thlljt3rFgTqM2CYV+h6tH8iWEP86rwFkoYqVpTqDZl5twOZV4sK16giEFXCPa2gdb9Dgtt /WAx2bJN5jV6Bpd+9DBgg== X-Spam-Score: -0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.9 (/) --nextPart5016077.ogBmmWGY02 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Freitag, 6. September 2013, 14:10:27 schrieb Ludovic Court=C3=A8s: > Arne Babenhauserheide skribis: >=20 > > Currently to install a local package definition, I have to adjust t= he GUILE_LOAD_PATH by hand: > > > > GUILE_LOAD_PATH=3D. guix package -e '(@ (mercurial) hg)' > > > > This could be much clearer if the $pwd were in the load path automa= tically. >=20 > As usual, it is a bad idea to include =E2=80=98.=E2=80=99 in the sear= ch path, because it > makes it easy to unwillingly execute untrusted code. I now learned, that with guile I can use=20 guile -L . which actually does what I need. Providing this in guix would be consistent with guile and it would make= it really easy to select overlays. Best wishes, Arne --=20 1w6 sie zu achten, sie alle zu finden, in Spiele zu leiten und sacht zu verbinden. =E2=86=92 http://1w6.org --nextPart5016077.ogBmmWGY02 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iJwEAAEIAAYFAlIzmkYACgkQ3M8NswvBBUhyMAP/cG5ABdq/ahiCosICj3WrZppF c6LCtsQuMFgi+Vgyl8FAw4BhITygACkLvTJknh/DWhnzviqK9JrT6jEV5J61OA78 G/zzWYCfcUQoN4oZnk6By9N7LEzcYBLFby4Ab28UlUYtZgfRICd8SAqksnVjFOV2 vL51K0lEO7mLGMCrzIc= =pNe+ -----END PGP SIGNATURE----- --nextPart5016077.ogBmmWGY02-- From unknown Sun Jun 15 08:42:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 14 Sep 2013 12:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15286 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Arne Babenhauserheide Cc: 15286-done@debbugs.gnu.org Received: via spool by 15286-done@debbugs.gnu.org id=D15286.137916080412409 (code D ref 15286); Sat, 14 Sep 2013 12:14:01 +0000 Received: (at 15286-done) by debbugs.gnu.org; 14 Sep 2013 12:13:24 +0000 Received: from localhost ([127.0.0.1]:35986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKoj5-0003E4-Pe for submit@debbugs.gnu.org; Sat, 14 Sep 2013 08:13:24 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:41209) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKoj2-0003Du-B4 for 15286-done@debbugs.gnu.org; Sat, 14 Sep 2013 08:13:21 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C914B14FD; Sat, 14 Sep 2013 14:13:18 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JVWjX128KWDb; Sat, 14 Sep 2013 14:13:18 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 73BF212A8; Sat, 14 Sep 2013 14:13:18 +0200 (CEST) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <874n9yqowk.wl%arne_bab@web.de> <87bo462lsc.fsf@gnu.org> <1983838.hHcTjoUhmn@fluss> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Fructidor an 221 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Sat, 14 Sep 2013 14:13:17 +0200 In-Reply-To: <1983838.hHcTjoUhmn@fluss> (Arne Babenhauserheide's message of "Sat, 14 Sep 2013 01:05:42 +0200") Message-ID: <87d2obvbxe.fsf@gnu.org> User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 1.0 (+) Arne Babenhauserheide skribis: > Am Freitag, 6. September 2013, 14:10:27 schrieb Ludovic Court=C3=A8s: >> Arne Babenhauserheide skribis: >>=20 >> > Currently to install a local package definition, I have to adjust the = GUILE_LOAD_PATH by hand: >> > >> > GUILE_LOAD_PATH=3D. guix package -e '(@ (mercurial) hg)' >> > >> > This could be much clearer if the $pwd were in the load path automatic= ally. >>=20 >> As usual, it is a bad idea to include =E2=80=98.=E2=80=99 in the search = path, because it >> makes it easy to unwillingly execute untrusted code. > > I now learned, that with guile I can use=20 > > guile -L . > > which actually does what I need. > > Providing this in guix would be consistent with guile and it would make i= t really easy to select overlays. If this is a =E2=80=98-L=E2=80=99 option, then I=E2=80=99d say no. After a= ll, Guix is just another Guile library, and as such it must not fiddle with the search path. Ludo=E2=80=99. From unknown Sun Jun 15 08:42:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default Resent-From: Arne Babenhauserheide Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Sep 2013 11:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15286 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 15286-done@debbugs.gnu.org Received: via spool by 15286-done@debbugs.gnu.org id=D15286.137924427220732 (code D ref 15286); Sun, 15 Sep 2013 11:25:01 +0000 Received: (at 15286-done) by debbugs.gnu.org; 15 Sep 2013 11:24:32 +0000 Received: from localhost ([127.0.0.1]:38185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VLARL-0005OJ-Ss for submit@debbugs.gnu.org; Sun, 15 Sep 2013 07:24:32 -0400 Received: from mout.web.de ([212.227.15.3]:56422) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VLARJ-0005O1-5M for 15286-done@debbugs.gnu.org; Sun, 15 Sep 2013 07:24:30 -0400 Received: from fluss.localnet ([212.255.225.177]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0Ls9JH-1W4VFh3rwd-013w3o for <15286-done@debbugs.gnu.org>; Sun, 15 Sep 2013 13:24:23 +0200 From: Arne Babenhauserheide Date: Sun, 15 Sep 2013 13:24:21 +0200 Message-ID: <3098123.iMsBW3j5mQ@fluss> User-Agent: KMail/4.11.1 (Linux/3.8.13-gentoo; KDE/4.11.1; x86_64; ; ) In-Reply-To: <87d2obvbxe.fsf@gnu.org> References: <874n9yqowk.wl%arne_bab@web.de> <1983838.hHcTjoUhmn@fluss> <87d2obvbxe.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2422317.aSYhvtNpOR"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:AN9bVkTIOc8h+1XXk9vi2/sfSW1JbXfwWhb8TmzKvgPOtxwb+CA 4vd5/m8ulYkK7DOPMOkITJ92hM2Iz/xle8qZPdNnNSKZyFqbDJLUbSveeJ+8E6aBz5m+at2 6Tc5gLKErZRPYGm/70lql9vG7E32dAukzSOrwc+yoTIICFVCyWxZQweQC6cA/f61AIGkvMA hunFCNWuaWdiJ1ameYedQ== X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.6 (/) --nextPart2422317.aSYhvtNpOR Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Samstag, 14. September 2013, 14:13:17 schrieb Ludovic Court=C3=A8s: > > I now learned, that with guile I can use=20 > > > > guile -L . > > > > which actually does what I need. > > > > Providing this in guix would be consistent with guile and it would = make it really easy to select overlays. >=20 > If this is a =E2=80=98-L=E2=80=99 option, then I=E2=80=99d say no. A= fter all, Guix is just > another Guile library, and as such it must not fiddle with the search= > path. Isn=E2=80=99t guix a standalone program? Best wishes, Arne --=20 Unpolitisch sein hei=C3=9Ft politisch sein,=20 ohne es zu merken.=20 - Arne (http://draketo.de) --nextPart2422317.aSYhvtNpOR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iJwEAAEIAAYFAlI1mOYACgkQ3M8NswvBBUgX9gP+MzM2TeYcN6XR/8PVGlcSMgp0 N1arHaCMoyLWL/BV/TJd5H488xEPfQPrXpZ9Dbf7q1xQAD4/9YS9U4eMRNj3Vu8v FgTR9q+2YfVSfDanDajuFIORtBhDmY0NMYIF23DivniHJ22LKVCB14aBWs693asO v2w+tLw6dFO2l5rCZxk= =Oz8D -----END PGP SIGNATURE----- --nextPart2422317.aSYhvtNpOR-- From unknown Sun Jun 15 08:42:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Sep 2013 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15286 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Arne Babenhauserheide Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 15286-done@debbugs.gnu.org Received: via spool by 15286-done@debbugs.gnu.org id=D15286.137926719828292 (code D ref 15286); Sun, 15 Sep 2013 17:47:01 +0000 Received: (at 15286-done) by debbugs.gnu.org; 15 Sep 2013 17:46:38 +0000 Received: from localhost ([127.0.0.1]:38928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VLGP7-0007MF-5M for submit@debbugs.gnu.org; Sun, 15 Sep 2013 13:46:37 -0400 Received: from world.peace.net ([96.39.62.75]:33594 ident=hope4) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VLGP4-0007M5-FY for 15286-done@debbugs.gnu.org; Sun, 15 Sep 2013 13:46:34 -0400 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VLGOx-0007O1-PN; Sun, 15 Sep 2013 13:46:27 -0400 From: Mark H Weaver References: <874n9yqowk.wl%arne_bab@web.de> <1983838.hHcTjoUhmn@fluss> <87d2obvbxe.fsf@gnu.org> <3098123.iMsBW3j5mQ@fluss> Date: Sun, 15 Sep 2013 13:46:18 -0400 In-Reply-To: <3098123.iMsBW3j5mQ@fluss> (Arne Babenhauserheide's message of "Sun, 15 Sep 2013 13:24:21 +0200") Message-ID: <87zjrehtat.fsf@tines.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 0.0 (/) Arne Babenhauserheide writes: > Am Samstag, 14. September 2013, 14:13:17 schrieb Ludovic Court=C3=A8s: >> > I now learned, that with guile I can use=20 >> > >> > guile -L . >> > >> > which actually does what I need. >> > >> > Providing this in guix would be consistent with guile and it would mak= e it really easy to select overlays. >>=20 >> If this is a =E2=80=98-L=E2=80=99 option, then I=E2=80=99d say no. Afte= r all, Guix is just >> another Guile library, and as such it must not fiddle with the search >> path. > > Isn=E2=80=99t guix a standalone program? It's both a library and a standalone program. If you're using one or more overlays, isn't it easier to set GUILE_LOAD_PATH in your dot files? I wouldn't want to have to specify one or more -L arguments every time I use guix. Mark