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

* gnu/packages/gnome.scm (gupnp-igd)[arguments]: Add 'set-home' phase.
This commit is contained in:
Ludovic Courtès 2021-11-22 23:16:47 +01:00
parent f12cf46eed
commit 98eca86435
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -257,6 +257,11 @@ (define-public gupnp-igd
(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"))