From 98eca86435147ffa53314614a1c2a5df1929192c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 22 Nov 2021 23:16:47 +0100 Subject: 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(+) (limited to 'gnu') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 82b002bd0d..9a31e3a087 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")) -- cgit 1.4.1