[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: python-typer: Use GUIX_PYTHONPATH instead of PYTHONPATH.
From: |
guix-commits |
Subject: |
02/03: gnu: python-typer: Use GUIX_PYTHONPATH instead of PYTHONPATH. |
Date: |
Thu, 18 Nov 2021 12:01:32 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 3b1cf6ab5ea1c1e47d02372148529595990176eb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Nov 18 16:59:59 2021 +0000
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 e9ec5ff..3115d36 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20869,9 +20869,9 @@ based on the CPython 2.7 and 3.7 parsers.")
;; 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/"