summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-01-04 18:55:17 +0300
committerAlex Kost <alezost@gmail.com>2016-01-16 13:02:21 +0300
commita0ad8ab01e839f3d3dbea0da84efbe51e8b67589 (patch)
tree98dc8d9cd53459042e7732feb9d22ebc9fdb91d7
parentb8300494c0cef32d7398aee705c9271346d0290e (diff)
downloadguix-a0ad8ab01e839f3d3dbea0da84efbe51e8b67589.tar.gz
emacs: profiles: Add 'guix-system-profile'.
* emacs/guix-profiles.el (guix-system-profile): New variable.
-rw-r--r--emacs/guix-profiles.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/guix-profiles.el b/emacs/guix-profiles.el
index 2c1936864f..43ad1d42eb 100644
--- a/emacs/guix-profiles.el
+++ b/emacs/guix-profiles.el
@@ -1,6 +1,7 @@
 ;;; guix-profiles.el --- Guix profiles
 
-;; Copyright © 2014 Alex Kost <alezost@gmail.com>
+;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
+;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
 
 ;; This file is part of GNU Guix.
 
@@ -25,6 +26,10 @@
   (expand-file-name "~/.guix-profile")
   "User profile.")
 
+(defvar guix-system-profile
+  (concat guix-config-state-directory "/profiles/system")
+  "System profile.")
+
 (defvar guix-default-profile
   (concat guix-config-state-directory
           "/profiles/per-user/"