diff options
| author | Liam Hupfer <liam@hpfr.net> | 2025-02-05 22:24:59 -0600 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-02-21 15:27:11 +0100 |
| commit | 4b8952ea9ecffba6d88f5acd62c9488f8b02627f (patch) | |
| tree | 7e70cfafcb0f53d9efcab7310932f02b48fc3ba6 /gnu | |
| parent | 50a2d73eac1577e35b526d3fc91423b97e581aef (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/home/services.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/home/services.scm b/gnu/home/services.scm index 453336c959a..85a43f80cac 100644 --- a/gnu/home/services.scm +++ b/gnu/home/services.scm | |||
| @@ -281,6 +281,10 @@ GUIX_PROFILE=\"$HOME_ENVIRONMENT/profile\" | |||
| 281 | PROFILE_FILE=\"$GUIX_PROFILE/etc/profile\" | 281 | PROFILE_FILE=\"$GUIX_PROFILE/etc/profile\" |
| 282 | [ -f $PROFILE_FILE ] && . $PROFILE_FILE | 282 | [ -f $PROFILE_FILE ] && . $PROFILE_FILE |
| 283 | 283 | ||
| 284 | case $GUIX_LOCPATH in | ||
| 285 | *$GUIX_PROFILE/lib/locale*) ;; | ||
| 286 | *) export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale:$GUIX_LOCPATH ;; | ||
| 287 | esac | ||
| 284 | case $XDG_DATA_DIRS in | 288 | case $XDG_DATA_DIRS in |
| 285 | *$GUIX_PROFILE/share*) ;; | 289 | *$GUIX_PROFILE/share*) ;; |
| 286 | *) export XDG_DATA_DIRS=$GUIX_PROFILE/share:$XDG_DATA_DIRS ;; | 290 | *) export XDG_DATA_DIRS=$GUIX_PROFILE/share:$XDG_DATA_DIRS ;; |
