guix: Work around Guix REPL transaction issues

master
Pierre Neidhardt 2018-07-03 18:40:46 +02:00
parent 1e0d0ee74b
commit 74534b1c25
1 changed files with 5 additions and 1 deletions

View File

@ -192,7 +192,11 @@
(yas-global-mode 1)
(with-eval-after-load 'yasnippet
(add-to-list 'yas-snippet-dirs (expand-file-name "etc/snippets" "~/projects/guix"))))
(add-to-list 'geiser-guile-load-path "~/projects/guix"))
;; REVIEW: This is suggested in the manual but it does not seem to work.
;; (add-to-list 'geiser-guile-load-path "~/projects/guix")
)
;; To use package declaration from the local checkout:
;; (setq guix-load-path "~/projects/guix")
(defun ambrevar/init-guix ()
(and buffer-file-name
(string-match "\\<guix\\>" buffer-file-name)