me
/
guix
Archived
1
0
Fork 0

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
Efraim Flashner 2023-11-19 10:52:29 +02:00
parent 4442aa8780
commit 8b8637079c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 3 deletions

View File

@ -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