aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-18 22:22:11 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-19 10:11:19 +0100
commit5d151c27b3441017146274fe8acd2936fa83c3a9 (patch)
tree61ac72132d39245219d46fecee89eb28c2231aa8
parentabc9a9b74549016bc749392d3cecf86386286145 (diff)
downloadguix-5d151c27b3441017146274fe8acd2936fa83c3a9.tar
guix-5d151c27b3441017146274fe8acd2936fa83c3a9.tar.gz
gnu: python-pytest-httpserver: Use GUIX_PYTHONPATH.
* gnu/packages/check.scm (python-pytest-httpserver)[arguments]: Use GUIX_PYTHONPATH instead of PYTHONPATH.
-rw-r--r--gnu/packages/check.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 3f8ee1d080..375a00e1a6 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -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")