diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-04-04 21:46:45 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-04-04 21:46:45 +0200 |
commit | 54c9d7bb69847c89a7193347f858bb4e9476f7df (patch) | |
tree | 2413fb69d0bdd65954ba7cd257a9817d1b57d7fc | |
parent | a779689714173877916c1c4a732f8db2c0045ff8 (diff) | |
download | patches-54c9d7bb69847c89a7193347f858bb4e9476f7df.tar patches-54c9d7bb69847c89a7193347f858bb4e9476f7df.tar.gz |
gnu: emacs-matrix-client: Add missing require.
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Add a missing require to
prevent a runtime error.
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1dddfd34e8..f1d1853572 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -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) |