gnu: gpgme: Fix build.

Reported by joshuaBPMan on #guix.

* gnu/packages/gnupg.scm (gpgme)[arguments]: Add ‘disable-failing-test’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-03-21 20:41:28 +01:00
parent b1ebda07cb
commit dde3f55156
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -400,6 +400,15 @@ (define-public gpgme
(sha256
(base32 "0imyjfryvvjdbai454p70zcr95m94j9xnzywrlilqdw2fqi0pqy4"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'disable-failing-test
;; XXX gnupg@2.2.20 breaks the expected JSON response for this test.
(lambda _
(substitute* "tests/json/t-json.c"
(("\"t-keylist-secret\", ") ""))
#t)))))
(native-inputs
`(("gnupg" ,gnupg)))
(propagated-inputs