From 675f324e12eb48323c4e2b879629f938bcf45397 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 18 Nov 2021 18:46:34 +0000 Subject: [PATCH] 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. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file 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