~ruther/guix-local

bd368c71749f09af69f5f5688cf536f0e943b868 — Eric Bavier 9 years ago 1a0ae57
gnu: ccache: Use modify-phases.

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

M gnu/packages/ccache.scm
M gnu/packages/ccache.scm => gnu/packages/ccache.scm +7 -8
@@ 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