From de5a8b26f276035d2f3b949ee4f147a694c42c23 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 1 Dec 2021 00:45:04 +0100 Subject: [PATCH] gnu: python-django-haystack: Disable sanity check. * gnu/packages/django.scm (python-django-haystack)[arguments]: Delete one phase. While at it, remove trailing #t's. --- gnu/packages/django.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index c11d3cf2b5..5c1c314fe2 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -405,14 +405,14 @@ (define-public python-django-haystack (add-after 'unpack 'loosen-verion-restrictions (lambda _ (substitute* "setup.py" - (("geopy.*") "geopy',\n")) - #t)) + (("geopy.*") "geopy',\n")))) (add-before 'check 'set-gdal-lib-path (lambda* (#:key inputs #:allow-other-keys) (setenv "GDAL_LIBRARY_PATH" (string-append (assoc-ref inputs "gdal") - "/lib")) - #t))) + "/lib")))) + ;; Importing this module requires setting up a Django project. + (delete 'sanity-check)) #:tests? #f)) ; OSError: libgdal.so.27: cannot open shared object file (propagated-inputs `(("python-django" ,python-django)))