guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python2-sh: Fix build.


From: guix-commits
Subject: 01/01: gnu: python2-sh: Fix build.
Date: Tue, 23 Apr 2019 18:47:41 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit ca983a2fc1ee293fb6c1513ee84c316150cb8497
Author: Nicolas Goaziou <address@hidden>
Date:   Wed Apr 24 00:43:32 2019 +0200

    gnu: python2-sh: Fix build.
    
    * gnu/packages/python-xyz.scm (python-sh): Fix build error with Python 2 due
      to failing tests.
---
 gnu/packages/python-xyz.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cbae299..669d465 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -476,6 +476,8 @@ concepts.")
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
+             ;; XXX: A Python 2 test fails when HOME=/homeless-shelter.
+             (setenv "HOME" "/tmp")
              (invoke "python" "sh.py" "test"))))))
     (native-inputs
      `(("python-coverage" ,python-coverage)))



reply via email to

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