mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: emacs-clojure-mode: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-clojure-mode)[#:phases]: Add "fix-tests" phase.
This commit is contained in:
parent
6d69886d73
commit
0c9ead5028
1 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue