mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add comments on why setting QT_QPA_PLATFORM for tests.
* gnu/packages/astronomy.scm (stellarium): Add comment. * gnu/packages/display-managers.scm (greenisland): dito. * gnu/packages/kde-frameworks.scm (kguiaddons, kwidgetsaddons, kcompletion, baloo, kbookmarks, kconfigwidgtes, kdesignerplugin, kemoticons, kglobalaccel, kiconthemes, kio, knewstuff, kparts, kpeople, krunner, kservice, ktexteditor, ktextwidgets, kxmlgui, plasma-framework): dito. * gnu/packages/qt.scm (qtsvg): dito.
This commit is contained in:
parent
0b5d078f8b
commit
94e24d8124
4 changed files with 24 additions and 1 deletions
|
@ -143,6 +143,7 @@ programs for the manipulation and analysis of astronomical data.")
|
|||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'check 'set-offscreen-display
|
||||
(lambda _
|
||||
;; make Qt render "offscreen", required for tests
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
(setenv "HOME" "/tmp")
|
||||
#t)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue