aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-18 18:46:34 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-18 18:47:13 +0000
commit675f324e12eb48323c4e2b879629f938bcf45397 (patch)
tree64cab938452a21bcfab362532c0c9ad81febb5c8
parentfc3e4ef0db1e6c4c83819e5b8d5a7571a3d656c1 (diff)
downloadguix-675f324e12eb48323c4e2b879629f938bcf45397.tar.gz
guix-675f324e12eb48323c4e2b879629f938bcf45397.zip
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.
-rw-r--r--gnu/packages/python-xyz.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c22271e732..e3e4817185 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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