me
/
guix
Archived
1
0
Fork 0

profiles: Add "XAUTHORITY" to the precious variables.

Suggested by Maxime Devos <maximedevos@telenet.be>.

* guix/profiles.scm (%precious-variables): Add "XAUTHORITY".
master
Ludovic Courtès 2021-06-18 12:44:47 +02:00
parent ee61777a32
commit 01f5795578
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -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