guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/08: gnu: spice: Adjust for newer GLib.


From: guix-commits
Subject: 05/08: gnu: spice: Adjust for newer GLib.
Date: Sat, 19 Jun 2021 11:09:25 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 02bf9bab8b575f3c90a7631140619fec9114853e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jun 17 12:57:02 2021 +0200

    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 c1e9e17..a6a87ca 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]