mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-27 01:01:44 +01:00
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.
This commit is contained in:
parent
a31cd4a5ec
commit
2978fb94bf
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue