summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2025-01-04 19:53:01 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2025-01-04 19:53:01 -0500
commitc075e3ae214ca6e773c69142ede754e7cf4ae799 (patch)
tree085448ab06b5667d124bea3f0d1d73c906f3cb91
parent851f2184e47cf82d8ae5559229e6f675ce4aa1f1 (diff)
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.
-rw-r--r--nonguix/multiarch-container.scm4
1 files changed, 0 insertions, 4 deletions
diff --git a/nonguix/multiarch-container.scm b/nonguix/multiarch-container.scm
index a6f62fc1..700da05f 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"