summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-04-27 23:42:54 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-04-28 16:05:53 +0200
commit70554077704742fd458ec8253299fcc2b0541925 (patch)
treef27f801958e5ff77ccd19f035d233a770e7aa7f3
parent7d62fa206b701504b110f253e3efb217eed475ad (diff)
downloadguix-70554077704742fd458ec8253299fcc2b0541925.tar.gz
gnu: kdevplatform: Use INVOKE.
* gnu/packages/kde.scm (kdevplatform)[arguments]: Use INVOKE and return #T
unconditionally.
-rw-r--r--gnu/packages/kde.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 37c67b8788..2427d35ea1 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -298,7 +298,7 @@ for some KDevelop language plugins (Ruby, PHP, CSS...).")
      `(#:phases
        (modify-phases %standard-phases
          (delete 'check)
-         (add-after 'install 'check ;; add-after 'install
+         (add-after 'install 'check
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
                (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
@@ -308,9 +308,8 @@ for some KDevelop language plugins (Ruby, PHP, CSS...).")
                (setenv "XDG_DATA_DIRS"
                        (string-append out "/share:"
                                       (getenv "XDG_DATA_DIRS")))
-               (zero?
-                (system* "ctest" "-R" ;; almost all tests require a display
-                         "filteringstrategy|kdevvarlengtharray|kdevhash"))))))))
+               (invoke "ctest" "-R" ; almost all tests require a display
+                       "filteringstrategy|kdevvarlengtharray|kdevhash")))))))
     (home-page "https://github.com/KDE/kdevplatform")
     (synopsis "Framework to build integrated development environments (IDEs)")
     (description "KDevPlatform is the basis of KDevelop and contains some