gnu: kcompletion: Fix test failure.
* gnu/packages/kde-frameworks.scm (kcompletion)[arguments]: Remove phase 'start-xorg-server. Set QT_QPA_PLATFORM=offscreen.
This commit is contained in:
parent
3c98ac0240
commit
548f99b3e0
|
@ -1129,14 +1129,8 @@ utilities.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda* _
|
(lambda _
|
||||||
(setenv "DBUS_FATAL_WARNINGS" "0")))
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
(add-before 'check 'start-xorg-server
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
;; The test suite requires a running X server.
|
|
||||||
(system (string-append (assoc-ref inputs "xorg-server")
|
|
||||||
"/bin/Xvfb :1 &"))
|
|
||||||
(setenv "DISPLAY" ":1")
|
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://community.kde.org/Frameworks")
|
(home-page "https://community.kde.org/Frameworks")
|
||||||
(synopsis "Powerful autocompletion framework and widgets")
|
(synopsis "Powerful autocompletion framework and widgets")
|
||||||
|
|
Loading…
Reference in New Issue