mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-29 19:54:11 +01:00
nongnu: steam: Preserve proxy environment variables and use regex for all vars.
* nongnu/packages/steam-client.scm (make-container-wrapper): Add proxy to preserved environment variables and use regex matching for all existing environment variables.
This commit is contained in:
parent
73dd7d8ecd
commit
80decf053a
1 changed files with 9 additions and 10 deletions
|
@ -317,16 +317,15 @@ in a sandboxed FHS environment."
|
||||||
(xdg-runtime (getenv "XDG_RUNTIME_DIR"))
|
(xdg-runtime (getenv "XDG_RUNTIME_DIR"))
|
||||||
(home (getenv "HOME"))
|
(home (getenv "HOME"))
|
||||||
(sandbox-home (string-append home "/" #$(ngc-sandbox-home container)))
|
(sandbox-home (string-append home "/" #$(ngc-sandbox-home container)))
|
||||||
(preserved-env '("DBUS_SESSION_BUS_ADDRESS"
|
(preserved-env '("^DBUS_"
|
||||||
"DISPLAY"
|
"^DISPLAY$"
|
||||||
"DRI_PRIME"
|
"^DRI_PRIME$"
|
||||||
"SDL_AUDIODRIVER"
|
"_PROXY$"
|
||||||
"STEAM_RUNTIME"
|
"_proxy$"
|
||||||
"STEAM_RUNTIME_HEAVY"
|
"^SDL_"
|
||||||
"STEAM_RUNTIME_PREFER_HOST_LIBRARIES"
|
"^STEAM_"
|
||||||
"XAUTHORITY"
|
"^XAUTHORITY$"
|
||||||
"XDG_DATA_HOME"
|
"^XDG_"))
|
||||||
"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")
|
||||||
|
|
Loading…
Reference in a new issue