gnu: ccache: Use modify-phases.

* gnu/packages/ccache.scm (ccache)[arguments]: Use modify-phases.
This commit is contained in:
Eric Bavier 2016-09-22 23:43:20 -05:00
parent 1a0ae573c7
commit bd368c7174
No known key found for this signature in database
GPG key ID: 1EBBD204781F962C

View file

@ -43,14 +43,13 @@ (define-public ccache
("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