diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-29 22:59:02 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-29 23:03:07 +0300 |
commit | 0c9ead50289be04e2186666b808d0431d9326a64 (patch) | |
tree | bdd35d3bf21241f5f434de4acfbec13338976507 | |
parent | 6d69886d73cc65a9ca90b482feba299799a8f51e (diff) | |
download | guix-0c9ead50289be04e2186666b808d0431d9326a64.tar.gz |
gnu: emacs-clojure-mode: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-clojure-mode)[#:phases]: Add "fix-tests" phase.
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 24d7ee0e74..ff789ffedf 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7183,7 +7183,17 @@ allowing unprefixed keys to insert their respective characters as expected.") ("emacs-s" ,emacs-s))) (arguments `(#:tests? #t - #:test-command '("buttercup"))) + #:test-command '("buttercup") + #:phases + (modify-phases %standard-phases + (add-before 'check 'fix-tests + ;; See: https://github.com/clojure-emacs/clojure-mode/issues/568 + (lambda _ + (substitute* "clojure-mode.el" + (("\\(list \\(cdr project\\)\\)" line) + (string-append "\"Return the list of directory roots of the PROJECT.\"\n" + line))) + #t))))) (home-page "https://github.com/clojure-emacs/clojure-mode") (synopsis "Major mode for Clojure code") (description |