From 01f5795578b26aa668150c4a05b2305dc3a2b7c2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 18 Jun 2021 12:44:47 +0200 Subject: profiles: Add "XAUTHORITY" to the precious variables. Suggested by Maxime Devos . * guix/profiles.scm (%precious-variables): Add "XAUTHORITY". --- guix/profiles.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1