guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: cunit: Use ‘modify-phases’ syntax.


From: Tobias Geerinckx-Rice
Subject: 02/03: gnu: cunit: Use ‘modify-phases’ syntax.
Date: Fri, 18 Aug 2017 09:09:55 -0400 (EDT)

nckx pushed a commit to branch staging
in repository guix.

commit 911c42de40149013ec4d1d8cc3f4b49724195937
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Aug 10 17:24:21 2017 +0200

    gnu: cunit: Use ‘modify-phases’ syntax.
    
    * gnu/packages/check.scm (cunit)[arguments]: Use ‘modify-phases’.
---
 gnu/packages/check.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 4b59ac5..365cc57 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -74,11 +74,10 @@ source code editors and IDEs.")
          "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm"))))
     (build-system gnu-build-system)
     (arguments '(#:phases
-                 (alist-cons-before
-                  'configure 'autoconf
-                  (lambda _
-                    (zero? (system* "autoreconf" "-vfi")))
-                  %standard-phases)))
+                 (modify-phases %standard-phases
+                   (add-before 'configure 'autoconf
+                     (lambda _
+                       (zero? (system* "autoreconf" "-vfi")))))))
     (native-inputs
      `(("automake" ,automake)
        ("autoconf" ,autoconf)



reply via email to

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