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:
parent
abc9a9b745
commit
5d151c27b3
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user