Archived
1
0
Fork 0

gnu: kdevplatform: Use INVOKE.

* gnu/packages/kde.scm (kdevplatform)[arguments]: Use INVOKE and return #T
unconditionally.
This commit is contained in:
Ricardo Wurmus 2019-04-27 23:42:54 +02:00
parent 7d62fa206b
commit 7055407770
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -298,7 +298,7 @@ for some KDevelop language plugins (Ruby, PHP, CSS...).")
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'check) (delete 'check)
(add-after 'install 'check ;; add-after 'install (add-after 'install 'check
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(setenv "CTEST_OUTPUT_ON_FAILURE" "1") (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
@ -308,9 +308,8 @@ for some KDevelop language plugins (Ruby, PHP, CSS...).")
(setenv "XDG_DATA_DIRS" (setenv "XDG_DATA_DIRS"
(string-append out "/share:" (string-append out "/share:"
(getenv "XDG_DATA_DIRS"))) (getenv "XDG_DATA_DIRS")))
(zero? (invoke "ctest" "-R" ; almost all tests require a display
(system* "ctest" "-R" ;; almost all tests require a display "filteringstrategy|kdevvarlengtharray|kdevhash")))))))
"filteringstrategy|kdevvarlengtharray|kdevhash"))))))))
(home-page "https://github.com/KDE/kdevplatform") (home-page "https://github.com/KDE/kdevplatform")
(synopsis "Framework to build integrated development environments (IDEs)") (synopsis "Framework to build integrated development environments (IDEs)")
(description "KDevPlatform is the basis of KDevelop and contains some (description "KDevPlatform is the basis of KDevelop and contains some