summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-18 12:44:47 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-18 14:18:07 +0200
commit01f5795578b26aa668150c4a05b2305dc3a2b7c2 (patch)
treeecbe308b2deb507d2c95734239d730e6e87b0159
parentee61777a326c3395518dee5e50ffc9c35ae53f3d (diff)
profiles: Add "XAUTHORITY" to the precious variables.
Suggested by Maxime Devos <maximedevos@telenet.be>. * guix/profiles.scm (%precious-variables): Add "XAUTHORITY".
-rw-r--r--guix/profiles.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 09b2d1525a..8c02149c6f 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1921,7 +1921,7 @@ already effective."
(define %precious-variables
;; Environment variables in the default 'load-profile' white list.
- '("HOME" "USER" "LOGNAME" "DISPLAY" "TERM" "TZ" "PAGER"))
+ '("HOME" "USER" "LOGNAME" "DISPLAY" "XAUTHORITY" "TERM" "TZ" "PAGER"))
(define (purify-environment white-list white-list-regexps)
"Unset all environment variables except those that match the regexps in