diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm index 39c2b20d7e..a4cd4da2ed 100644 --- a/gnu/packages/djvu.scm +++ b/gnu/packages/djvu.scm @@ -182,7 +182,10 @@ a continuous layout.") (substitute* "tests/test-xmp-broken.py" ;; Error message changed in recent versions of XML parser (("XML parsing failure") - "Error in XMLValidator"))))))) + "Error in XMLValidator")))) + (add-before 'check 'set-home-for-tests + (lambda _ + (setenv "HOME" "/tmp")))))) (synopsis "PDF to DjVu converter") (description "@code{pdf2djvu} creates DjVu files from PDF files.