aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-15 23:58:30 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-15 23:58:39 +0200
commit3f9d63df1353750565d979a72c83f58059e63691 (patch)
treea8e3d32402cbc72708501d4d87a2cdfbd5696e2a /gnu
parenta34cedc45e06c1142d3548d69182f4eb880c1f75 (diff)
downloadgnu-guix-3f9d63df1353750565d979a72c83f58059e63691.tar
gnu-guix-3f9d63df1353750565d979a72c83f58059e63691.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pulseaudio.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index e37f7c07e3..b17ee6987f 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -121,7 +121,14 @@ rates. ")
version ".tar.xz"))
(sha256
(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)
(arguments
`(#:configure-flags '("--localstatedir=/var" ;"--sysconfdir=/etc"