gnu: gnome-desktop: Fix tests.

* gnu/packages/gnome.scm (gnome-desktop)[arguments]: Set XDG_CACHE_HOME and
XDG_CONFIG_HOME variables for the tests.
This commit is contained in:
Mathieu Othacehe 2021-08-16 10:23:10 +02:00
parent 591a3f5714
commit fc4b13ee82
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -2181,6 +2181,8 @@ (define-public gnome-desktop
;; Tests require a running X server and locales.
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1")
(setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
(setenv "XDG_CONFIG_HOME" "/tmp")
(setenv "GUIX_LOCPATH"
(search-input-directory inputs
"lib/locale")))))))