summary refs log tree commit diff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-23 00:27:48 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:49 -0500
commit283d5ac97f2f7663b788bd2fc3b9a27a3d82c7d5 (patch)
tree3b5cb2b76e5595c8ddb05b0b0a6cd01f9151560b /gnu/packages/django.scm
parentde66b6fedbe61eca5199bdd445ed69491c025ccd (diff)
downloadguix-283d5ac97f2f7663b788bd2fc3b9a27a3d82c7d5.tar.gz
gnu: python-django-sortedm2m: Do not alter PYTHONPATH.
* gnu/packages/django.scm (python-django-sortedm2m)
[phases]{check}: Do not alter PYTHONPATH.  Remove trailing #t.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 6feca05f92..d404b64839 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -875,10 +875,8 @@ using Python multiprocessing.")
      `(#:phases (modify-phases %standard-phases
                   (replace 'check
                     (lambda _
-                      (setenv "PYTHONPATH" (string-append "./test_project:"
-                                                          "./build/lib:.:"
-                                                          (getenv "PYTHONPATH")))
-                      (invoke "django-admin.py" "test" "--settings=settings"))))))
+                      (invoke "python" "django-admin.py"
+                              "test" "--settings=settings"))))))
     (native-inputs
      `(("python-django" ,python-django)))
     (home-page "https://github.com/jazzband/django-sortedm2m")