aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-09-13 11:07:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-09-13 15:04:33 +0300
commit43f9757f809d0fb3cd7c3e8b24bfb927179055e8 (patch)
tree145c372a1a02f630b98177d672f5b5d9d7a733a8
parent7890ba02df6500b888792f2ab738b97fe3027349 (diff)
downloadguix-43f9757f809d0fb3cd7c3e8b24bfb927179055e8.tar.gz
guix-43f9757f809d0fb3cd7c3e8b24bfb927179055e8.zip
gnu: korganizer: Allow skipping tests.
* gnu/packages/kde-pim.scm (korganizer)[arguments]: Have custom 'check phase honor #:tests?.
-rw-r--r--gnu/packages/kde-pim.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 87af6b3216..a4011e8d3a 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -1602,8 +1602,9 @@ application \"Parts\" to be embedded as a Kontact component (or plugin).")
""))
#t))
(replace 'check
- (lambda _
- (invoke "dbus-launch" "ctest" ".")
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "dbus-launch" "ctest" "."))
#t)))))
(home-page "https://kontact.kde.org/components/korganizer.html")
(synopsis "Organizational assistant, providing calendars and other similar