summary refs log tree commit diff
path: root/emacs/guix-init.el.in
blob: 4e627281875de21c1b889388da475d5ff6907eca (plain) (blame)
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)