nonguix: multiarch-container: Don't try to start pulseaudio.

Closes #241.

See discussion in above issue, but the summary is that the container (or any
package/program) shouldn't be trying to start pulseaudio (or other home/system
services, especially that can be started on demand).  While previously this
was done to avoid some issue, it is not clear if that is still the case and it
may possibly lead to other issues.  So, let's default to a more
expected (non-) behavior.

* nonguix/multiarch-container.scm (make-container-wrapper): Remove invoke of
pulseaudio.
This commit is contained in:
John Kehayias 2025-01-04 19:53:01 -05:00
parent 851f2184e4
commit c075e3ae21
No known key found for this signature in database
GPG Key ID: 499097AE5EA815D9

View File

@ -42,7 +42,6 @@
(define-module (nonguix multiarch-container)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages pulseaudio)
#:use-module (guix build-system trivial)
#:use-module (guix gexp)
#:use-module (guix records)
@ -364,9 +363,6 @@ 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)
(invoke #$(file-append pulseaudio "/bin/pulseaudio")
"--start"
"--exit-idle-time=60")
(apply invoke
`("guix" "shell"
"--container" "--no-cwd" "--network"