system: Remove obsolete GUIX_LOCPATH workaround.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Bruno Victal 2023-03-27 17:56:14 +01:00 committed by Ludovic Courtès
parent 1984d56b0e
commit 59878230f4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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 glibc@2.23 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 glibc@2.23-using packages in their profiles
;; can use them correctly.
;; TODO: Remove when glibc@2.23 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))