From 02bf9bab8b575f3c90a7631140619fec9114853e Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 17 Jun 2021 12:57:02 +0200 Subject: [PATCH] gnu: spice: Adjust for newer GLib. * gnu/packages/spice.scm (spice)[arguments]: Set XDG_CONFIG_HOME before running the tests. --- gnu/packages/spice.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index c1e9e173a2..a6a87cac75 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -252,6 +252,14 @@ which allows users to view a desktop computing environment.") '("--enable-lz4" "--enable-automated-tests") + #:phases + (modify-phases %standard-phases + ;; XXX: Otherwise the server listen tests fails with + ;; Failed to create /homeless-shelter/.config/glib-2.0/settings + (add-before 'check 'set-XDG_CONFIG_HOME + (lambda _ + (setenv "XDG_CONFIG_HOME" "/tmp")))) + ;; Several tests appear to be opening the same sockets concurrently. #:parallel-tests? #f)) (synopsis "Server implementation of the SPICE protocol")