guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: ccache: Use modify-phases.


From: Eric Bavier
Subject: 01/02: gnu: ccache: Use modify-phases.
Date: Fri, 23 Sep 2016 04:57:26 +0000 (UTC)

bavier pushed a commit to branch master
in repository guix.

commit bd368c71749f09af69f5f5688cf536f0e943b868
Author: Eric Bavier <address@hidden>
Date:   Thu Sep 22 23:43:20 2016 -0500

    gnu: ccache: Use modify-phases.
    
    * gnu/packages/ccache.scm (ccache)[arguments]: Use modify-phases.
---
 gnu/packages/ccache.scm |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm
index 01db7ae..9b8c147 100644
--- a/gnu/packages/ccache.scm
+++ b/gnu/packages/ccache.scm
@@ -43,14 +43,13 @@
                      ("which" ,(@ (gnu packages base) which))))
     (inputs `(("zlib" ,zlib)))
     (arguments
-     '(#:phases (alist-cons-before
-                 'check 'setup-tests
-                 (lambda _
-                   (substitute* '("test/test_hashutil.c" "test.sh")
-                     (("#!/bin/sh") (string-append "#!" (which "sh")))
-                     (("which") (which "which")))
-                   #t)
-                 %standard-phases)))
+     '(#:phases (modify-phases %standard-phases
+                 (add-before 'check 'setup-tests
+                   (lambda _
+                     (substitute* '("test/test_hashutil.c" "test.sh")
+                       (("#!/bin/sh") (string-append "#!" (which "sh")))
+                       (("which") (which "which")))
+                     #t)))))
     (home-page "https://ccache.samba.org/";)
     (synopsis "Compiler cache")
     (description



reply via email to

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