diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-01-27 13:37:53 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-01-27 13:49:02 +0800 |
commit | 00239d05940dff7fc9b9e1875c56da243d9ecd9e (patch) | |
tree | 1bd978c532244a5643de7b743f89aab946b3b949 /gnu/system.scm | |
parent | 4ad8789c17905fa596aad28dced0c44f60d9b12a (diff) | |
download | gnu-guix-00239d05940dff7fc9b9e1875c56da243d9ecd9e.tar gnu-guix-00239d05940dff7fc9b9e1875c56da243d9ecd9e.tar.gz |
system: Add 'XDG_DATA_DIRS' and 'XDG_CONFIG_DIRS' to /etc/profile.
* gnu/system.scm (etc-directory)[profile]: Set 'XDG_DATA_DIRS' and
'XDG_CONFIG_DIRS'.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r-- | gnu/system.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index 52698c9e22..fc7b5b1099 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -442,6 +442,9 @@ export PATH=/run/setuid-programs:/run/current-system/profile/sbin:$PATH export MANPATH=$HOME/.guix-profile/share/man:/run/current-system/profile/share/man export INFOPATH=$HOME/.guix-profile/share/info:/run/current-system/profile/share/info +export XDG_DATA_DIRS=$HOME/.guix-profile/share:/run/current-system/profile/share +export XDG_CONFIG_DIRS=$HOME/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg + # Append the directory of 'site-start.el' to the search path. export EMACSLOADPATH=:/etc/emacs |