guix-commits
[Top][All Lists]
Advanced

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

03/07: gnu: gupnp-igd: Set HOME before 'check' phase.


From: guix-commits
Subject: 03/07: gnu: gupnp-igd: Set HOME before 'check' phase.
Date: Mon, 22 Nov 2021 17:52:29 -0500 (EST)

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

commit 98eca86435147ffa53314614a1c2a5df1929192c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Nov 22 23:16:47 2021 +0100

    gnu: gupnp-igd: Set HOME before 'check' phase.
    
    * gnu/packages/gnome.scm (gupnp-igd)[arguments]: Add 'set-home' phase.
---
 gnu/packages/gnome.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 82b002b..9a31e3a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -257,6 +257,11 @@
                   (string-append (assoc-ref inputs "docbook-xml-4.1.2")
                                  "/xml/dtd/docbook/"))))
              #t))
+         (add-before 'check 'set-home
+           (lambda _
+             ;; A test using GIO expects ~/.config/glib-2.0/settings to be
+             ;; writable.
+             (setenv "HOME" (getcwd))))
          (add-after 'install 'move-doc
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))



reply via email to

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