From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Babenhauserheide Subject: bug#15286: Add the current directory as GUILE_LOAD_PATH by default Date: Fri, 06 Sep 2013 11:29:15 +0200 Message-ID: <874n9yqowk.wl%arne_bab@web.de> Reply-To: arne_bab@web.de Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsMl-0005Bb-HH for bug-guix@gnu.org; Fri, 06 Sep 2013 05:30:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHsMe-0004Xg-VU for bug-guix@gnu.org; Fri, 06 Sep 2013 05:30:11 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:34816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsMe-0004Wz-Sa for bug-guix@gnu.org; Fri, 06 Sep 2013 05:30:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VHsMd-0006xM-Hg for bug-guix@gnu.org; Fri, 06 Sep 2013 05:30:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsLy-0004Wp-Qb for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHsLs-0004BC-Qa for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:22 -0400 Received: from mout.web.de ([212.227.17.12]:64160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsLs-0004Au-Hb for bug-guix@gnu.org; Fri, 06 Sep 2013 05:29:16 -0400 Received: from kaverne.draketo.de ([212.255.16.46]) by smtp.web.de (mrweb101) with ESMTPA (Nemesis) id 0LgYG1-1VnLkU2EhZ-00nz3p for ; Fri, 06 Sep 2013 11:29:15 +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: 15286@debbugs.gnu.org Dear Guix Hackers, 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 automatically. Even clearer could be something like overlays as discussed on guix-devel.= =C2=B9 Examples of usage could be: # install from an explicit definition file guix package --file mercurial.scm -i mercurial=20 # install from a directory with many scheme files: essentially just # adds the directory and subdirectories to the load path. guix package --overlay . -i mercurial=20 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 =C2=B9: http://lists.gnu.org/archive/html/guix-devel/2013-08/msg00127.html