Subject: [PATCH] system: Remove obsolete GUIX_LOCPATH workaround.
From: Bruno Victal <[email-masked]>
To: [email-masked]
Cc: Bruno Victal <[email-masked]>
Date: Mon, 27 Mar 2023 17:56:14 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/system.scm (operating-system-environment-variables): Do not set GUIX_LOCPATH.
---

Tested with: make check-system TESTS="basic mcron mpd mympd"

 gnu/system.scm | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index 48cc68f449..c17c6e4e98 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1201,15 +1201,7 @@ (define (operating-system-environment-variables os)
 
     ;; By default, applications that use D-Bus, such as Emacs, abort at startup
     ;; when /etc/machine-id is missing.  Make sure these warnings are non-fatal.
-    ("DBUS_FATAL_WARNINGS" . "0")
-
-    ;; XXX: Normally we wouldn't need to do this, but our [email-masked] package
-    ;; used to look things up in 'PREFIX/lib/locale' instead of
-    ;; '/run/current-system/locale' as was intended.  Keep this hack around so
-    ;; that people who still have [email-masked] packages in their profiles
-    ;; can use them correctly.
-    ;; TODO: Remove when [email-masked] is long gone.
-    ("GUIX_LOCPATH" . "/run/current-system/locale")))
+    ("DBUS_FATAL_WARNINGS" . "0")))
 
 ;; Ensure LST is a list of <setuid-program> records and warn otherwise.
 (define-with-syntax-properties (ensure-setuid-program-list (lst properties))
-- 
2.39.1