diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-24 00:54:15 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-01 11:53:55 -0500 |
commit | 588468c688fa0838161c121276b641b93aadcbe3 (patch) | |
tree | d7715675c2a991af1e42cecdc261493d793b68f0 /gnu/packages | |
parent | 77b85453267a3a9e5eff7eb72affe384898bbf15 (diff) | |
download | guix-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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-xyz.scm | 9 |
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") |