From 3963211668a2b5626805530568b88a9a4eb9e3f1 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 18 Sep 2021 12:43:24 +0200 Subject: gnu: gupnp: Fix build. * gnu/packages/gnome.scm (gupnp)[arguments]<#:phases>: Add a 'pre-check phase. --- gnu/packages/gnome.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 53455a3518..6c817ec2e3 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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") -- cgit 1.4.1