guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/05: gnu: python-hy: Set HOME to /tmp before install
Date: Sun, 17 Nov 2019 17:15:01 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 6ba6a1c103ea94f2c9a984db466c3b2829e8f175
Author: Jesse Gibbons <address@hidden>
Date:   Sat Nov 16 18:33:05 2019 -0700

    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 <address@hidden>
---
 gnu/packages/python-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d2786e4..5b8b33b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8745,6 +8745,9 @@ with a new public API, and RPython support.")
     (arguments
      '(#:phases
        (modify-phases %standard-phases
+        (add-before 'install 'set-HOME
+          (lambda _
+            (setenv "HOME" "/tmp")))
          (replace 'check
            (lambda _
              ;; Tests require write access to HOME.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]