profiles: Add "XAUTHORITY" to the precious variables.
Suggested by Maxime Devos <maximedevos@telenet.be>. * guix/profiles.scm (%precious-variables): Add "XAUTHORITY".
This commit is contained in:
parent
ee61777a32
commit
01f5795578
1 changed files with 1 additions and 1 deletions
|
@ -1921,7 +1921,7 @@ (define* (profile-search-paths profile
|
|||
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue