gnu: arc-theme: Placate Inkscape.

This gets rid of Inkscape's warnings printed during the build when HOME is not
set to a writable directory.

* gnu/packages/gnome.scm (arc-theme)[phases]{set-home}: New phase.
This commit is contained in:
Maxim Cournoyer 2020-01-06 20:19:06 -05:00
parent d3e439e355
commit 4690e3a4ec
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -39,7 +39,7 @@
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net>
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2019 David Wilson <david@daviwil.com>
;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
@ -8302,7 +8302,11 @@ (define-public arc-theme
(modify-phases %standard-phases
;; autogen.sh calls configure at the end of the script.
(replace 'bootstrap
(lambda _ (invoke "autoreconf" "-vfi"))))))
(lambda _ (invoke "autoreconf" "-vfi")))
(add-before 'build 'set-home ;placate Inkscape
(lambda _
(setenv "HOME" (getcwd))
#t)))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)