gnu: newsboat: Honor the #:tests? flag.
* gnu/packages/syndication.scm (newsboat)[arguments]: Adjust the custom 'check phase to honor the #:tests? flag. Change-Id: I626787ac2d33dfd1e003a0a8e8758e563c664f90
parent
4442aa8780
commit
8b8637079c
|
@ -309,9 +309,10 @@ cards.")
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(assoc-ref gnu:%standard-phases 'build))
|
(assoc-ref gnu:%standard-phases 'build))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda args
|
(lambda* (#:key tests? #:allow-other-keys #:rest args)
|
||||||
|
(when tests?
|
||||||
((assoc-ref gnu:%standard-phases 'check)
|
((assoc-ref gnu:%standard-phases 'check)
|
||||||
#:test-target "test")))
|
#:test-target "test"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(assoc-ref gnu:%standard-phases 'install)))))
|
(assoc-ref gnu:%standard-phases 'install)))))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
|
|
Reference in New Issue