gnu: gupnp: Fix build.

* gnu/packages/gnome.scm (gupnp)[arguments]<#:phases>: Add a 'pre-check phase.
This commit is contained in:
Mathieu Othacehe 2021-09-18 12:43:24 +02:00
parent 048934c3b6
commit 3963211668
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

@ -1329,6 +1329,13 @@ a debugging tool, @command{gssdp-device-sniffer}.")
(base32
"1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p"))))
(build-system meson-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; Tests require a writable HOME.
(setenv "HOME" (getcwd)))))))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")