Subject: [PATCH v2 10/24] gnu: calibre: Disable tests that require networking.

From: Brendan Tildesley <[email-masked]>
Date: Sat, 4 May 2019 02:42:18 +1000

* gnu/packages/ebook.scm (calibre)[configure]: set CI=true so Bonjour test
doesn't try to run without networking.
---
 gnu/packages/ebook.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 79fa99cf4a..2b557ab08d 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -185,6 +185,9 @@
                   "/bin/pdftohtml\"")))
               (setenv "PODOFO_INC_DIR" (string-append podofo "/include/podofo"))
               (setenv "PODOFO_LIB_DIR" (string-append podofo "/lib"))
+              ;; This informs the tests we are a continuous integration
+              ;; environment and thus have no networking.
+              (setenv "CI" "true")
               #t)))
          (add-after 'build 'build-extra
            (lambda* (#:key inputs #:allow-other-keys)
-- 
2.21.0