diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-11-13 10:13:08 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-11-13 10:33:54 +0100 |
commit | a12a41cdd10cfe7e6ba75df4343c3aac2664fc38 (patch) | |
tree | 98f3f78b12b700e7beb92f25dc82a210dcd55b51 /gnu/packages/djvu.scm | |
parent | b5941f7be80f142a5bcbdab317c0450c7afca84b (diff) | |
download | guix-a12a41cdd10cfe7e6ba75df4343c3aac2664fc38.tar.gz |
gnu: pdf2djvu: Fix tests.
* gnu/packages/djvu.scm (pdf2djvu)[arguments]: Add 'set-home-for-tests' phase.
Diffstat (limited to 'gnu/packages/djvu.scm')
-rw-r--r-- | gnu/packages/djvu.scm | 5 |
1 files changed, 4 insertions, 1 deletions
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. |