aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-07-11 12:59:22 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-11 12:59:22 +0100
commitaf4c90dc736295b19fda88cd8652f67f138409a1 (patch)
tree0fa59ad729d008880f5c3c9d127cc247398ca1e8 /gnu/packages/web.scm
parentfdb51f305a7d36291ee8d83987a4e776ecdc54b2 (diff)
downloadguix-af4c90dc736295b19fda88cd8652f67f138409a1.tar.gz
guix-af4c90dc736295b19fda88cd8652f67f138409a1.zip
gnu: miniflux: Enable all tests.
* gnu/packages/web.scm (miniflux) [arguments]: <#:phases>: Swap to custom 'check phase. Change-Id: Ib62634abe3be76ad4ad708f5de75e9b96264a0cd
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 2128597721..62328ca868 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -361,6 +361,12 @@ and its related documentation.")
#$version))
#:phases
#~(modify-phases %standard-phases
+ ;; XXX: Replace when go-build-system supports nested path.
+ (replace 'check
+ (lambda* (#:key import-path tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "go" "test" "-v" "./...")))))
(add-after 'install 'install-manpage
(lambda* (#:key import-path #:allow-other-keys)
(let ((man1 (string-append #$output "/share/man/man1/"))