emacs: profiles: Add 'guix-system-profile'.

* emacs/guix-profiles.el (guix-system-profile): New variable.
This commit is contained in:
Alex Kost 2016-01-04 18:55:17 +03:00
parent b8300494c0
commit a0ad8ab01e

View file

@ -1,6 +1,7 @@
;;; guix-profiles.el --- Guix profiles ;;; 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. ;; This file is part of GNU Guix.
@ -25,6 +26,10 @@
(expand-file-name "~/.guix-profile") (expand-file-name "~/.guix-profile")
"User profile.") "User profile.")
(defvar guix-system-profile
(concat guix-config-state-directory "/profiles/system")
"System profile.")
(defvar guix-default-profile (defvar guix-default-profile
(concat guix-config-state-directory (concat guix-config-state-directory
"/profiles/per-user/" "/profiles/per-user/"