guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/11: gnu: pulseaudio: Use 'modify-phases' syntax.


From: Marius Bakke
Subject: 04/11: gnu: pulseaudio: Use 'modify-phases' syntax.
Date: Sun, 17 Dec 2017 19:26:04 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 277cf3dc1db6e8f882e7e41b376b40511f542232
Author: Marius Bakke <address@hidden>
Date:   Sun Dec 17 17:29:52 2017 +0100

    gnu: pulseaudio: Use 'modify-phases' syntax.
    
    * gnu/packages/pulseaudio.scm (pulseaudio)[arguments]: Use 'modify-phases'.
---
 gnu/packages/pulseaudio.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index cb7ff16..9548578 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -147,16 +147,16 @@ rates.")
                                (string-append "--with-udev-rules-dir="
                                               (assoc-ref %outputs "out")
                                               "/lib/udev/rules.d"))
-       #:phases (alist-cons-before
-                 'check 'pre-check
-                 (lambda _
-                   ;; 'tests/lock-autospawn-test.c' wants to create a file
-                   ;; under ~/.config/pulse.
-                   (setenv "HOME" (getcwd))
-                   ;; 'thread-test' needs more time on hydra and on slower
-                   ;; machines, so we set the default timeout to 120 seconds.
-                   (setenv "CK_DEFAULT_TIMEOUT" "120"))
-                 %standard-phases)))
+       #:phases (modify-phases %standard-phases
+                 (add-before 'check 'pre-check
+                   (lambda _
+                     ;; 'tests/lock-autospawn-test.c' wants to create a file
+                     ;; under ~/.config/pulse.
+                     (setenv "HOME" (getcwd))
+                     ;; 'thread-test' needs more time on hydra and on slower
+                     ;; machines, so we set the default timeout to 120 seconds.
+                     (setenv "CK_DEFAULT_TIMEOUT" "120")
+                     #t)))))
     (inputs
      ;; TODO: Add optional inputs (GTK+?).
      `(("alsa-lib" ,alsa-lib)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]