diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e9ec5ff059..3115d367b2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20869,9 +20869,9 @@ (define-public python-typer ;; This is for completion tests (with-output-to-file "/tmp/.bashrc" (lambda _ (display "# dummy"))) - (setenv "PYTHONPATH" + (setenv "GUIX_PYTHONPATH" (string-append (getcwd) ":" - (getenv "PYTHONPATH"))) + (getenv "GUIX_PYTHONPATH"))) (let ((disabled-tests (list "test_show_completion" "test_install_completion"))) (invoke "python" "-m" "pytest" "tests/"