gnu: python-pytest-httpserver: Use GUIX_PYTHONPATH.

* gnu/packages/check.scm (python-pytest-httpserver)[arguments]: Use
GUIX_PYTHONPATH instead of PYTHONPATH.
This commit is contained in:
Ricardo Wurmus 2021-11-18 22:22:11 +00:00
parent abc9a9b745
commit 5d151c27b3
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -1198,7 +1198,7 @@ supports coverage of subprocesses.")
(modify-phases %standard-phases
(add-before 'check 'fix-library-loading
(lambda _
(setenv "PYTHONPATH" (string-append (getenv "PYTHONPATH") ":."))))
(setenv "GUIX_PYTHONPATH" (string-append (getenv "GUIX_PYTHONPATH") ":."))))
(replace 'check
(lambda _
(invoke "pytest" "tests" "-vv")