~ruther/guix-local

ref: c678a4eef668b0e64f4700ce3efb59ef62c8d644 guix-local/emacs/guix-init.el.in -rw-r--r-- 407 bytes
c678a4ee — Ludovic Courtès doc: Use @deftp for 'build-machine'. 11 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(require 'guix-autoloads)

(defvar guix-load-path
  (replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@")
  "Directory with scheme files for \"guix.el\" package.")

(defvar guix-default-profile
  (concat (or (getenv "NIX_STATE_DIR") "@guix_localstatedir@/guix")
          "/profiles/per-user/"
          (getenv "USER")
          "/guix-profile")
  "Default Guix profile.")

(provide 'guix-init)