mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 23:34:52 +01:00
nongnu: steam: Make sandbox directory configurable.
* nongnu/packages/steam-client.scm (make-container-wrapper): Read sandbox path from env var GUIX_SANDBOX_HOME.
This commit is contained in:
parent
3246eac4fe
commit
904e05f136
1 changed files with 2 additions and 1 deletions
|
@ -318,7 +318,8 @@ in a sandboxed FHS environment."
|
|||
(manifest-file #$(file-append fhs-manifest))
|
||||
(xdg-runtime (getenv "XDG_RUNTIME_DIR"))
|
||||
(home (getenv "HOME"))
|
||||
(sandbox-home (string-append home "/" #$(ngc-sandbox-home container)))
|
||||
(sandbox-home (or (getenv "GUIX_SANDBOX_HOME")
|
||||
(string-append home "/" #$(ngc-sandbox-home container))))
|
||||
(preserved-env '("^DBUS_"
|
||||
"^DISPLAY$"
|
||||
"^DRI_PRIME$"
|
||||
|
|
Loading…
Reference in a new issue