mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
gnu: ccache: Use modify-phases.
* gnu/packages/ccache.scm (ccache)[arguments]: Use modify-phases.
This commit is contained in:
parent
1a0ae573c7
commit
bd368c7174
1 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue