1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-02 15:25:54 +02:00

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
+5
View File
@@ -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"))