gnu: cssc: Use 'modify-phases'.

* gnu/packages/version-control.scm (cssc)[arguments]: Use 'modify-phases'.
master
Efraim Flashner 2016-07-22 15:56:21 +03:00
parent 7c5a145414
commit bf3c57ff2d
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 15 additions and 15 deletions

View File

@ -898,8 +898,9 @@ large, complex patch files.")
"cssc-missing-include.patch")))) "cssc-missing-include.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (alist-cons-before `(#:phases
'check 'precheck (modify-phases %standard-phases
(add-before 'check 'precheck
(lambda _ (lambda _
(begin (begin
(substitute* "tests/common/test-common" (substitute* "tests/common/test-common"
@ -913,8 +914,7 @@ large, complex patch files.")
;; not belong) in the /etc/group file of the build environment. ;; not belong) in the /etc/group file of the build environment.
;; Currently we do not have such a group. Disable this test for now. ;; Currently we do not have such a group. Disable this test for now.
(substitute* "tests/Makefile" (substitute* "tests/Makefile"
(("test-delta ") "")))) (("test-delta ") ""))))))))
%standard-phases)))
;; These are needed for the tests ;; These are needed for the tests
(native-inputs `(("git" ,git) (native-inputs `(("git" ,git)
("cvs" ,cvs))) ("cvs" ,cvs)))