[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to use Guix.el from Git?
From: |
Mathieu Lirzin |
Subject: |
How to use Guix.el from Git? |
Date: |
Sun, 22 Nov 2015 13:14:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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 “/usr/local” prefix.
It works perfectly with Guix.el from “/usr/local/share/emacs/site-lisp”
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 “Hacking” configuration 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 ‘M-x guix’:
--8<---------------cut here---------------start------------->8---
Backtrace:
In ice-9/boot-9.scm:
157: 9 [catch #t #<catch-closure b12d60> ...]
In unknown file:
?: 8 [apply-smob/1 #<catch-closure b12d60>]
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 #<procedure e2a740 at ice-9/boot-9.scm:4045:3
()>]
4050: 4 [#<procedure e2a740 at ice-9/boot-9.scm:4045:3 ()>]
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 #<procedure d96580 at ice-9/boot-9.scm:1745:2
()>]
1729: 1 [#<procedure d937b0 ()>]
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
- How to use Guix.el from Git?,
Mathieu Lirzin <=