summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-12-01 00:53:09 +0100
committerMarius Bakke <marius@gnu.org>2021-12-05 14:02:09 +0100
commit63975ea51c3eacd3d036d26584fdf86dc9846a66 (patch)
tree878ccaddeab42f72a5cbe7f9d7b333bac7193129
parent19520996f0401e9bc6f044dfa2435801d0f202de (diff)
downloadguix-63975ea51c3eacd3d036d26584fdf86dc9846a66.tar.gz
gnu: python-django-logging-json: Disable sanity check.
* gnu/packages/django.scm (python-django-logging-json)[arguments]: Add
 #:phases.
-rw-r--r--gnu/packages/django.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index c3af347354..382207bbcb 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1249,7 +1249,11 @@ FileFields during tests.")
                (base32
                 "06041a8icazzp73kg93c7k1ska12wvkq7fpcad0l0sm1qnxx5yx7"))))
     (build-system python-build-system)
-    (arguments '(#:tests? #f))          ;no tests
+    (arguments
+     '(#:tests? #f                      ;no tests
+       #:phases (modify-phases %standard-phases
+                  ;; Importing this module requires a Django project.
+                  (delete 'sanity-check))))
     (propagated-inputs
      `(("python-certifi" ,python-certifi)
        ("python-django" ,python-django)