gnu: emacs-matrix-client: Add missing require.

* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Add a missing require to
  prevent a runtime error.
This commit is contained in:
Nicolas Goaziou 2019-04-04 21:46:45 +02:00
parent a779689714
commit 54c9d7bb69
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 13 additions and 1 deletions

View File

@ -13131,7 +13131,7 @@ Emacs.")
(let ((commit "a0623667b07a4bf60980c97b078e9faed97ace79"))
(package
(name "emacs-matrix-client")
(version (git-version "0.0.0" "3" commit))
(version (git-version "0.0.0" "4" commit))
(source (origin
(method git-fetch)
(uri (git-reference
@ -13142,6 +13142,18 @@ Emacs.")
(base32
"1zya8id3y9wzjaj7nplq7br6nhm3lsskv0fkn1xr1y77fzcfgcdb"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'add-missing-require
;; Fix a filter error at runtime due to a missing require.
;; Reported upstream:
;; <https://github.com/alphapapa/matrix-client.el/issues/76>
(lambda _
(substitute* "matrix-client-room.el"
(("\\(require 'dash-functional\\)" all)
(string-append all "\n" "(require 'anaphora)")))
#t)))))
(propagated-inputs
`(("a" ,emacs-a)
("anaphora" ,emacs-anaphora)