From 1df75a20b0a5024709299cb85d6831ce202596dc Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 23 Jan 2021 00:31:20 -0500 Subject: gnu: python-django-statici18n: Do not read PYTHONPATH. * gnu/packages/django.scm (python-django-statici18n) [phases]{check}: Do not read PYTHONPATH from environment. Do not set build/lib explicitly (the install site path is already in the Guix PYTHONPATH). --- gnu/packages/django.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index f25dd20b20..75a1121264 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -935,9 +935,7 @@ name is purely coincidental.") '(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - (setenv "PYTHONPATH" - (string-append "./tests/test_project:./build/lib:" - (getenv "PYTHONPATH"))) + (setenv "PYTHONPATH" "./tests/test_project") (setenv "DJANGO_SETTINGS_MODULE" "project.settings") (invoke "pytest" "-vv")))))) (native-inputs -- cgit v1.2.3