From 904e05f1365cc8ebf7be2b59263f430d373df0ef Mon Sep 17 00:00:00 2001 From: ison Date: Sun, 17 Oct 2021 13:16:38 -0600 Subject: [PATCH] nongnu: steam: Make sandbox directory configurable. * nongnu/packages/steam-client.scm (make-container-wrapper): Read sandbox path from env var GUIX_SANDBOX_HOME. --- nongnu/packages/steam-client.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nongnu/packages/steam-client.scm b/nongnu/packages/steam-client.scm index 8a11e4a..7e91af8 100644 --- a/nongnu/packages/steam-client.scm +++ b/nongnu/packages/steam-client.scm @@ -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$"