From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: How to use Guix.el from Git? Date: Sun, 22 Nov 2015 13:14:33 +0100 Message-ID: <87mvu62pue.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0TXW-0003h5-H1 for guix-devel@gnu.org; Sun, 22 Nov 2015 07:14:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0TXR-0007Vt-Ho for guix-devel@gnu.org; Sun, 22 Nov 2015 07:14:42 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0TXR-0007Vp-FK for guix-devel@gnu.org; Sun, 22 Nov 2015 07:14:37 -0500 Received: from mek33-4-82-236-46-88.fbx.proxad.net ([82.236.46.88]:57512 helo=godel) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a0TXQ-0005yP-Of for guix-devel@gnu.org; Sun, 22 Nov 2015 07:14:37 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hi, I would like to use the Guix.el from the Git repository of Guix, but I fail at configuring it. I use Guix 0.9.0 built from source ontop of Debian and installed with standard the =E2=80=9C/usr/local=E2=80=9D prefix. It works perfectly with Guix.el from =E2=80=9C/usr/local/share/emacs/site-l= isp=E2=80=9D with the configuration describe in the manual: (add-to-list 'load-path "/usr/local/share/emacs/site-lisp") (require 'guix-init) But when I try to replace this with the =E2=80=9CHacking=E2=80=9D configura= tion from the manual: (let ((dir "~/src/gnu/guix/emacs")) (add-to-list 'load-path dir) (setq guix-load-path dir)) (require 'guix-init nil t) I get this error when launching =E2=80=98M-x guix=E2=80=99: --8<---------------cut here---------------start------------->8--- Backtrace: In ice-9/boot-9.scm: 157: 9 [catch #t # ...] In unknown file: ?: 8 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 7 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 6 [eval # #] In ice-9/boot-9.scm: 2401: 5 [save-module-excursion #] 4050: 4 [#] In unknown file: ?: 3 [load-compiled/vm "/home/mthl/.cache/guile/ccache/2.0-LE-8-2.0/home= /mthl/src/gnu/guix/emacs/guix-helper.scm.go"] In ice-9/boot-9.scm: 1724: 2 [%start-stack load-stack #] 1729: 1 [#] In unknown file: ?: 0 [primitive-load-path "guix-main"] ERROR: In procedure primitive-load-path: ERROR: In procedure primitive-load-path: Unable to find file "guix-main" in= load path --8<---------------cut here---------------end--------------->8--- Am I missing something? TIA, -- Mathieu Lirzin