me
/
guix
Archived
1
0
Fork 0

gnu: python-tablib: Use GUIX_PYTHONPATH instead of PYTHONPATH.

* gnu/packages/python-xyz.scm (python-tablib)[arguments]: Use GUIX_PYTHONPATH
instead of PYTHONPATH in 'check phase.
master
Ricardo Wurmus 2021-11-18 18:46:34 +00:00
parent fc3e4ef0db
commit 675f324e12
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 2 deletions

View File

@ -27518,9 +27518,9 @@ pythonic way.")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "PYTHONPATH"
(setenv "GUIX_PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
(getenv "GUIX_PYTHONPATH")))
(invoke "pytest")))))))
(native-inputs
`(("python-pandas" ,python-pandas) ;; required for test-suite