gnu: python-hy: Set HOME to /tmp before install

Fixes <https://bugs.gnu.org/38241>.

* gnu/packages/python-xyz.scm (python-hy)[arguments]: Add custom
'set-HOME phase before the 'install phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Jesse Gibbons 2019-11-16 18:33:05 -07:00 committed by Ludovic Courtès
parent ea04211358
commit 6ba6a1c103
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -8745,6 +8745,9 @@ (define-public python-hy
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'install 'set-HOME
(lambda _
(setenv "HOME" "/tmp")))
(replace 'check
(lambda _
;; Tests require write access to HOME.