mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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:
parent
ea04211358
commit
6ba6a1c103
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue