gnu: gnupg: Fix test failures.
* gnu/packages/gnupg.scm (gnupg)[arguments]: Set $HOME before 'check' phase. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
f041616da1
commit
dd582f4ae5
|
@ -247,7 +247,13 @@ compatible to GNU Pth.")
|
|||
(lambda _
|
||||
(substitute* (find-files "tests" ".\\.scm$")
|
||||
(("/usr/bin/env gpgscm")
|
||||
(string-append (getcwd) "/tests/gpgscm/gpgscm"))))))))
|
||||
(string-append (getcwd) "/tests/gpgscm/gpgscm")))))
|
||||
(add-before 'check 'set-home
|
||||
;; Some tests require write access to $HOME, otherwise leading to
|
||||
;; 'failed to create directory /homeless-shelter/.asy' error.
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
#t)))))
|
||||
(home-page "https://gnupg.org/")
|
||||
(synopsis "GNU Privacy Guard")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue