gnu: python2-sh: Fix build.

* gnu/packages/python-xyz.scm (python-sh): Fix build error with Python 2 due
  to failing tests.
This commit is contained in:
Nicolas Goaziou 2019-04-24 00:43:32 +02:00
parent f6beefafd1
commit ca983a2fc1
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 2 additions and 0 deletions

View File

@ -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)))