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'.
This commit is contained in:
宋文武 2015-01-27 13:37:53 +08:00
parent 4ad8789c17
commit 00239d0594

View file

@ -442,6 +442,9 @@ (define* (etc-directory #:key
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