guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-clojure-mode: Fix build.


From: guix-commits
Subject: branch master updated: gnu: emacs-clojure-mode: Fix build.
Date: Sat, 29 Aug 2020 16:04:06 -0400

This is an automated email from the git hooks/post-receive script.

wigust pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0c9ead5  gnu: emacs-clojure-mode: Fix build.
0c9ead5 is described below

commit 0c9ead50289be04e2186666b808d0431d9326a64
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Sat Aug 29 22:59:02 2020 +0300

    gnu: emacs-clojure-mode: Fix build.
    
    * gnu/packages/emacs-xyz.scm
    (emacs-clojure-mode)[#:phases]: Add "fix-tests" phase.
---
 gnu/packages/emacs-xyz.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 24d7ee0..ff789ff 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]