From c075e3ae214ca6e773c69142ede754e7cf4ae799 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Sat, 4 Jan 2025 19:53:01 -0500 Subject: [PATCH] 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. --- nonguix/multiarch-container.scm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nonguix/multiarch-container.scm b/nonguix/multiarch-container.scm index a6f62fc..700da05 100644 --- a/nonguix/multiarch-container.scm +++ b/nonguix/multiarch-container.scm @@ -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"