mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-msgpack: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-msgpack) [phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
parent
77b8545326
commit
588468c688
1 changed files with 1 additions and 8 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue