mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 12:30:38 +02: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 @@ with a new public API, and RPython support.")
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'install 'set-HOME
|
||||||
|
(lambda _
|
||||||
|
(setenv "HOME" "/tmp")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Tests require write access to HOME.
|
;; Tests require write access to HOME.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue