mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -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))))
|
("which" ,(@ (gnu packages base) which))))
|
||||||
(inputs `(("zlib" ,zlib)))
|
(inputs `(("zlib" ,zlib)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (alist-cons-before
|
'(#:phases (modify-phases %standard-phases
|
||||||
'check 'setup-tests
|
(add-before 'check 'setup-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* '("test/test_hashutil.c" "test.sh")
|
(substitute* '("test/test_hashutil.c" "test.sh")
|
||||||
(("#!/bin/sh") (string-append "#!" (which "sh")))
|
(("#!/bin/sh") (string-append "#!" (which "sh")))
|
||||||
(("which") (which "which")))
|
(("which") (which "which")))
|
||||||
#t)
|
#t)))))
|
||||||
%standard-phases)))
|
|
||||||
(home-page "https://ccache.samba.org/")
|
(home-page "https://ccache.samba.org/")
|
||||||
(synopsis "Compiler cache")
|
(synopsis "Compiler cache")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue