unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Arne Babenhauserheide <arne_bab@web.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 15286-done@debbugs.gnu.org
Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default
Date: Sat, 14 Sep 2013 01:05:42 +0200	[thread overview]
Message-ID: <1983838.hHcTjoUhmn@fluss> (raw)
In-Reply-To: <87bo462lsc.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

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


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2013-09-13 23:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06  9:29 bug#15286: Add the current directory as GUILE_LOAD_PATH by default Arne Babenhauserheide
2013-09-06 12:10 ` Ludovic Courtès
2013-09-13 23:05   ` Arne Babenhauserheide [this message]
2013-09-14 12:13     ` Ludovic Courtès
2013-09-15 11:24       ` Arne Babenhauserheide
2013-09-15 17:46         ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1983838.hHcTjoUhmn@fluss \
    --to=arne_bab@web.de \
    --cc=15286-done@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).