gnu: calibre: Disable tests that require networking.

* gnu/packages/ebook.scm (calibre)[arguments]<#:phases>[configure]: Modify.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Brendan Tildesley 2019-05-04 02:42:18 +10:00 committed by Danny Milosavljevic
parent 15871b4087
commit b01cde1ac9
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -185,6 +185,9 @@ (define-public calibre
"/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)