summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-23 00:29:08 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:49 -0500
commitf7f507b57724e44062f6a5d7e3a54176ae3e08da (patch)
treedb7a8361f749e50c9deacd15dc00b9552d5a95e7 /gnu/packages
parent283d5ac97f2f7663b788bd2fc3b9a27a3d82c7d5 (diff)
downloadguix-f7f507b57724e44062f6a5d7e3a54176ae3e08da.tar.gz
gnu: python-django-appconf: Do not alter PYTHONPATH.
* gnu/packages/django.scm (python-django-appconf)
[phases]{check}: Do not alter PYTHONPATH.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/django.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index d404b64839..f25dd20b20 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -902,10 +902,8 @@ the order of added relations.")
      '(#:phases (modify-phases %standard-phases
                   (replace 'check
                     (lambda _
-                      (setenv "PYTHONPATH" (string-append ".:"
-                                                          (getenv "PYTHONPATH")))
                       (setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
-                      (invoke "django-admin.py" "test" "-v2"))))))
+                      (invoke "python" "django-admin.py" "test" "-v2"))))))
     (native-inputs
      `(("python-django" ,python-django)))
     (home-page "https://github.com/django-compressor/django-appconf")