From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default Date: Sat, 14 Sep 2013 14:13:17 +0200 Message-ID: <87d2obvbxe.fsf@gnu.org> References: <874n9yqowk.wl%arne_bab@web.de> <87bo462lsc.fsf@gnu.org> <1983838.hHcTjoUhmn@fluss> 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]:46145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKojt-0001L8-Dc for bug-guix@gnu.org; Sat, 14 Sep 2013 08:14:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKoji-00079c-Fh for bug-guix@gnu.org; Sat, 14 Sep 2013 08:14:13 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:55926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKoji-00079Q-Cd for bug-guix@gnu.org; Sat, 14 Sep 2013 08:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VKojh-0003F9-P5 for bug-guix@gnu.org; Sat, 14 Sep 2013 08:14:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1983838.hHcTjoUhmn@fluss> (Arne Babenhauserheide's message of "Sat, 14 Sep 2013 01:05:42 +0200") 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: Arne Babenhauserheide Cc: 15286-done@debbugs.gnu.org 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.