From fc4b13ee822dd7a493cac82052c14590d7351536 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 16 Aug 2021 10:23:10 +0200 Subject: gnu: gnome-desktop: Fix tests. * gnu/packages/gnome.scm (gnome-desktop)[arguments]: Set XDG_CACHE_HOME and XDG_CONFIG_HOME variables for the tests. --- gnu/packages/gnome.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3f49a33685..4750f6421a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2181,6 +2181,8 @@ offline sources, providing a centralized place for managing your contacts.") ;; 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"))))))) -- cgit v1.2.3