gnu: pulseaudio: Use 'modify-phases' syntax.
* gnu/packages/pulseaudio.scm (pulseaudio)[arguments]: Use 'modify-phases'.master
parent
2edf825974
commit
277cf3dc1d
|
@ -147,16 +147,16 @@ rates.")
|
||||||
(string-append "--with-udev-rules-dir="
|
(string-append "--with-udev-rules-dir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib/udev/rules.d"))
|
"/lib/udev/rules.d"))
|
||||||
#:phases (alist-cons-before
|
#:phases (modify-phases %standard-phases
|
||||||
'check 'pre-check
|
(add-before 'check 'pre-check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; 'tests/lock-autospawn-test.c' wants to create a file
|
;; 'tests/lock-autospawn-test.c' wants to create a file
|
||||||
;; under ~/.config/pulse.
|
;; under ~/.config/pulse.
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
;; 'thread-test' needs more time on hydra and on slower
|
;; 'thread-test' needs more time on hydra and on slower
|
||||||
;; machines, so we set the default timeout to 120 seconds.
|
;; machines, so we set the default timeout to 120 seconds.
|
||||||
(setenv "CK_DEFAULT_TIMEOUT" "120"))
|
(setenv "CK_DEFAULT_TIMEOUT" "120")
|
||||||
%standard-phases)))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
;; TODO: Add optional inputs (GTK+?).
|
;; TODO: Add optional inputs (GTK+?).
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
|
|
Reference in New Issue