aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-24 00:54:15 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:55 -0500
commit588468c688fa0838161c121276b641b93aadcbe3 (patch)
treed7715675c2a991af1e42cecdc261493d793b68f0
parent77b85453267a3a9e5eff7eb72affe384898bbf15 (diff)
downloadguix-588468c688fa0838161c121276b641b93aadcbe3.tar.gz
guix-588468c688fa0838161c121276b641b93aadcbe3.zip
gnu: python-msgpack: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-msgpack) [phases]{check}: Do not set PYTHONPATH.
-rw-r--r--gnu/packages/python-xyz.scm9
1 files changed, 1 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6f35d982cc..93dbcc7549 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8731,14 +8731,7 @@ third-party code.")
(modify-phases %standard-phases
(replace 'check
(lambda _
- (let ((cwd (getcwd)))
- (setenv "PYTHONPATH"
- (string-append cwd "/build/"
- (find (cut string-prefix? "lib" <>)
- (scandir (string-append cwd "/build")))
- ":"
- (getenv "PYTHONPATH")))
- (invoke "pytest" "-v" "test")))))))
+ (invoke "pytest" "-v" "test"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(synopsis "MessagePack (de)serializer")