From 3b1cf6ab5ea1c1e47d02372148529595990176eb Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 18 Nov 2021 16:59:59 +0000 Subject: [PATCH] gnu: python-typer: Use GUIX_PYTHONPATH instead of PYTHONPATH. * gnu/packages/python-xyz.scm (python-typer)[arguments]: Use GUIX_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 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/"