summaryrefslogtreecommitdiff
path: root/emacs/guix-init.el.in
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2014-11-26 01:32:24 +0300
committerAlex Kost <alezost@gmail.com>2014-12-02 22:09:22 +0300
commit3db349cb09844e2770be3d0dee4e990f1228c2b6 (patch)
treee9bfd03cdb38b69ed4146eae5589a53cd2c7e509 /emacs/guix-init.el.in
parentece9b4173b3e1d266e6171d3af656fbc93b51a8b (diff)
downloadpatches-3db349cb09844e2770be3d0dee4e990f1228c2b6.tar
patches-3db349cb09844e2770be3d0dee4e990f1228c2b6.tar.gz
emacs: Move profiles code to "guix-profiles.el.in".
* emacs/guix-base.el (guix-user-profile, guix-default-profile, guix-current-profile, guix-profile-prompt, guix-set-current-profile): Move to... * emacs/guix-init.el.in (guix-default-profile): Move to... * emacs/guix-profiles.el.in: ... here. New file. * configure.ac (AC_CONFIG_FILES): Add "emacs/guix-profiles.el". * emacs.am (nodist_lisp_DATA): Likewise.
Diffstat (limited to 'emacs/guix-init.el.in')
-rw-r--r--emacs/guix-init.el.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/emacs/guix-init.el.in b/emacs/guix-init.el.in
index 4e62728187..775c90fef9 100644
--- a/emacs/guix-init.el.in
+++ b/emacs/guix-init.el.in
@@ -4,11 +4,4 @@
(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)