all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15286: Add the current directory as GUILE_LOAD_PATH by default
@ 2013-09-06  9:29 Arne Babenhauserheide
  2013-09-06 12:10 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Arne Babenhauserheide @ 2013-09-06  9:29 UTC (permalink / raw)
  To: 15286

Dear Guix Hackers,

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.


Even clearer could be something like overlays as discussed on guix-devel.¹

Examples of usage could be:

# install from an explicit definition file
guix package --file mercurial.scm -i mercurial 

# install from a directory with many scheme files: essentially just
# adds the directory and subdirectories to the load path.
guix package --overlay . -i mercurial 

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

¹: http://lists.gnu.org/archive/html/guix-devel/2013-08/msg00127.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-15 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-09-14 12:13     ` Ludovic Courtès
2013-09-15 11:24       ` Arne Babenhauserheide
2013-09-15 17:46         ` Mark H Weaver

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.