GNU bug report logs - #76082
[PATCH 0/9] Improve profile initialization on foreign distros plus misc improvements

Previous Next

Package: guix-patches;

Reported by: Liam Hupfer <liam <at> hpfr.net>

Date: Thu, 6 Feb 2025 04:09:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 76082 <at> debbugs.gnu.org (full text, mbox):

From: Liam Hupfer <liam <at> hpfr.net>
To: 76082 <at> debbugs.gnu.org
Cc: Liam Hupfer <liam <at> hpfr.net>
Subject: [PATCH 3/9] home: services: setup-environment: Set GUIX_LOCPATH.
Date: Wed,  5 Feb 2025 22:24:59 -0600
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
---
 gnu/home/services.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index 165bc33b05..9f50635d5c 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -281,6 +281,10 @@ (define (environment-variables->setup-environment-script vars)
 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 ;;
-- 
2.47.1





This bug report was last modified 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.