gnu: pulseaudio: Disable Console-Kit support by default.

This prevented PulseAudio from starting on systems without Console-Kit.

* gnu/packages/pulseaudio.scm (pulseaudio)[source]: Add snippet.
This commit is contained in:
Ludovic Courtès 2014-09-15 23:58:30 +02:00
parent a34cedc45e
commit 3f9d63df13

View file

@ -121,7 +121,14 @@ (define pulseaudio
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0fgrr8v7yfh0byhzdv4c87v9lkj8g7gpjm8r9xrbvpa92a5kmhcr")))) "0fgrr8v7yfh0byhzdv4c87v9lkj8g7gpjm8r9xrbvpa92a5kmhcr"))
(modules '((guix build utils)))
(snippet
;; Disable console-kit support by default since it's deprecated
;; anyway.
'(substitute* "src/daemon/default.pa.in"
(("load-module module-console-kit" all)
(string-append "#" all "\n"))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags '("--localstatedir=/var" ;"--sysconfdir=/etc" `(#:configure-flags '("--localstatedir=/var" ;"--sysconfdir=/etc"