gnu: cssc: Use 'modify-phases'.
* gnu/packages/version-control.scm (cssc)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
7c5a145414
commit
bf3c57ff2d
|
@ -898,23 +898,23 @@ 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
|
||||||
(lambda _
|
(add-before 'check 'precheck
|
||||||
(begin
|
(lambda _
|
||||||
(substitute* "tests/common/test-common"
|
(begin
|
||||||
(("/bin/pwd") (which "pwd")))
|
(substitute* "tests/common/test-common"
|
||||||
|
(("/bin/pwd") (which "pwd")))
|
||||||
|
|
||||||
(substitute* "tests/prt/all-512.sh"
|
(substitute* "tests/prt/all-512.sh"
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
|
|
||||||
;; XXX: This test has no hope of passing until there is a "nogroup"
|
;; XXX: This test has no hope of passing until there is a "nogroup"
|
||||||
;; entry (or at least some group to which the guix builder does
|
;; entry (or at least some group to which the guix builder does
|
||||||
;; 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)))
|
||||||
|
|
Loading…
Reference in New Issue