mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
home: services: setup-environment: Set GUIX_LOCPATH.
Locales installed via Guix Home should be exposed to Guix packages by default. * gnu/home/services.scm (environment-variables->setup-environment-script): Set GUIX_LOCPATH. Change-Id: Ic61f0832312479ba36f471d92a12e7b4e296389f Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
50a2d73eac
commit
4b8952ea9e
1 changed files with 4 additions and 0 deletions
|
@ -281,6 +281,10 @@ GUIX_PROFILE=\"$HOME_ENVIRONMENT/profile\"
|
|||
PROFILE_FILE=\"$GUIX_PROFILE/etc/profile\"
|
||||
[ -f $PROFILE_FILE ] && . $PROFILE_FILE
|
||||
|
||||
case $GUIX_LOCPATH in
|
||||
*$GUIX_PROFILE/lib/locale*) ;;
|
||||
*) export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale:$GUIX_LOCPATH ;;
|
||||
esac
|
||||
case $XDG_DATA_DIRS in
|
||||
*$GUIX_PROFILE/share*) ;;
|
||||
*) export XDG_DATA_DIRS=$GUIX_PROFILE/share:$XDG_DATA_DIRS ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue