From 5d151c27b3441017146274fe8acd2936fa83c3a9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 18 Nov 2021 22:22:11 +0000 Subject: gnu: python-pytest-httpserver: Use GUIX_PYTHONPATH. * gnu/packages/check.scm (python-pytest-httpserver)[arguments]: Use GUIX_PYTHONPATH instead of PYTHONPATH. --- gnu/packages/check.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/check.scm') diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 3f8ee1d080..375a00e1a6 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1198,7 +1198,7 @@ supports coverage of subprocesses.") (modify-phases %standard-phases (add-before 'check 'fix-library-loading (lambda _ - (setenv "PYTHONPATH" (string-append (getenv "PYTHONPATH") ":.")))) + (setenv "GUIX_PYTHONPATH" (string-append (getenv "GUIX_PYTHONPATH") ":.")))) (replace 'check (lambda _ (invoke "pytest" "tests" "-vv") -- cgit 1.4.1