mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-29 19:54:11 +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"
|
(format #t "* DEBUG set to 1: Starting shell. Launch application manually with: ~a.\n\n"
|
||||||
#$(ngc-internal-name container)))
|
#$(ngc-internal-name container)))
|
||||||
(mkdir-p sandbox-home)
|
(mkdir-p sandbox-home)
|
||||||
(system "pulseaudio -D > /dev/null 2>&1")
|
(invoke #$(file-append pulseaudio "/bin/pulseaudio")
|
||||||
(apply system*
|
"--start"
|
||||||
|
"--exit-idle-time=60")
|
||||||
|
(apply invoke
|
||||||
`("guix" "environment"
|
`("guix" "environment"
|
||||||
"--ad-hoc" "--container" "--no-cwd" "--network"
|
"--ad-hoc" "--container" "--no-cwd" "--network"
|
||||||
,@(map preserve-var preserved-env)
|
,@(map preserve-var preserved-env)
|
||||||
|
|
Loading…
Reference in a new issue