me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/python-xyz.scm (python-xlwt)[arguments]: Update 'check phase to
set GUIX_PYTHONPATH instead of PYTHONPATH.
master
Ricardo Wurmus 2021-11-18 16:09:26 +00:00
parent 156843609c
commit 235adaeec6
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 2 deletions

View File

@ -10814,9 +10814,9 @@ Unicode-aware. It is not intended as an end-user tool.")
(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 "nosetests" "-v")))))))
(native-inputs
`(("nose" ,python-nose)))