From 2978fb94bffcfe89959016669900efe2c6eff744 Mon Sep 17 00:00:00 2001 From: ison Date: Mon, 8 Mar 2021 15:50:29 -0700 Subject: [PATCH] nongnu: steam: Improve pulseaudio startup * nongnu/packages/steam-client.scm (make-container-wrapper): Use full path to pulseaudio and increase exit-idle-time. Use invoke instead of system. --- nongnu/packages/steam-client.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nongnu/packages/steam-client.scm b/nongnu/packages/steam-client.scm index a60a52c..f5b1512 100644 --- a/nongnu/packages/steam-client.scm +++ b/nongnu/packages/steam-client.scm @@ -350,8 +350,10 @@ in a sandboxed FHS environment." (format #t "* DEBUG set to 1: Starting shell. Launch application manually with: ~a.\n\n" #$(ngc-internal-name container))) (mkdir-p sandbox-home) - (system "pulseaudio -D > /dev/null 2>&1") - (apply system* + (invoke #$(file-append pulseaudio "/bin/pulseaudio") + "--start" + "--exit-idle-time=60") + (apply invoke `("guix" "environment" "--ad-hoc" "--container" "--no-cwd" "--network" ,@(map preserve-var preserved-env)