mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 21:27:37 -05:00
gnu: python-typer: Use GUIX_PYTHONPATH instead of PYTHONPATH.
* gnu/packages/python-xyz.scm (python-typer)[arguments]: Use GUIX_PYTHONPATH in 'check phase.
This commit is contained in:
parent
9e76a5b7cb
commit
3b1cf6ab5e
1 changed files with 2 additions and 2 deletions
|
@ -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/"
|
||||
|
|
Loading…
Reference in a new issue