GNU bug report logs - #15286
Add the current directory as GUILE_LOAD_PATH by default

Previous Next

Package: guix;

Reported by: arne_bab <at> web.de

Date: Fri, 6 Sep 2013 09:30:03 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #13 received at 15286-done <at> debbugs.gnu.org (full text, mbox):

From: Arne Babenhauserheide <arne_bab <at> web.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 15286-done <at> debbugs.gnu.org
Subject: Re: bug#15286: Add the current directory as GUILE_LOAD_PATH by default
Date: Sat, 14 Sep 2013 01:05:42 +0200
[Message part 1 (text/plain, inline)]
Am Freitag, 6. September 2013, 14:10:27 schrieb Ludovic Courtès:
> Arne Babenhauserheide <arne_bab <at> web.de> skribis:
> 
> > Currently to install a local package definition, I have to adjust the GUILE_LOAD_PATH by hand:
> >
> >       GUILE_LOAD_PATH=. guix package -e '(@ (mercurial) hg)'
> >
> > This could be much clearer if the $pwd were in the load path automatically.
> 
> As usual, it is a bad idea to include ‘.’ in the search path, because it
> makes it easy to unwillingly execute untrusted code.

I now learned, that with guile I can use 

    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
-- 
1w6 sie zu achten,
sie alle zu finden,
in Spiele zu leiten
und sacht zu verbinden.
→ http://1w6.org

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 11 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.