nongnu: steam: Revert XDG vars to explicit list.

* nongnu/packages/steam-client.scm (make-container-wrapper): Preserve only XDG
vars which are known to be needed instead of preserving all XDG vars.
This commit is contained in:
ison 2021-03-10 15:02:09 -07:00
parent 80decf053a
commit 0a0e8d0db6
No known key found for this signature in database
GPG key ID: 5E76B1AD0FC22F93

View file

@ -325,7 +325,10 @@ in a sandboxed FHS environment."
"^SDL_" "^SDL_"
"^STEAM_" "^STEAM_"
"^XAUTHORITY$" "^XAUTHORITY$"
"^XDG_")) ;; Matching all ^XDG_ vars causes issues
;; discussed in 80decf05.
"^XDG_DATA_HOME$"
"^XDG_RUNTIME_DIR$"))
(expose `("/dev/dri" (expose `("/dev/dri"
"/dev/input" ; Needed for controller input. "/dev/input" ; Needed for controller input.
,@(exists-> "/etc/machine-id") ,@(exists-> "/etc/machine-id")