bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15286: Add the current directory as GUILE_LOAD_PATH by default


From: Ludovic Courtès
Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default
Date: Sat, 14 Sep 2013 14:13:17 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Arne Babenhauserheide <address@hidden> skribis:

> Am Freitag, 6. September 2013, 14:10:27 schrieb Ludovic Courtès:
>> Arne Babenhauserheide <address@hidden> 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.

If this is a ‘-L’ option, then I’d say no.  After all, Guix is just
another Guile library, and as such it must not fiddle with the search
path.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]