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:
Hartmut Goebel 2017-03-19 21:41:22 +01:00
parent 0b5d078f8b
commit 94e24d8124
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF
4 changed files with 24 additions and 1 deletions

View file

@ -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)))))