summary refs log tree commit diff
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2019-10-29 11:59:41 +0100
committerClément Lassieur <clement@lassieur.org>2019-10-29 12:05:39 +0100
commit10224994dab466638fa70dfc9a257cc6e18288e7 (patch)
tree890e1d5cebb6511f21a26bc390fd5d225afbcd57
parent3af12c75f9b6d6da1ded9ae4c7d4afe9071eeb68 (diff)
downloadguix-10224994dab466638fa70dfc9a257cc6e18288e7.tar.gz
gnu: emacs-evil: Fix test helpers.
* gnu/packages/emacs-xyz.scm (emacs-evil)[arguments]: Add a 'fix-test-helpers'
phase.
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c12c174e2e..1be819728f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7421,6 +7421,14 @@ news items, openrc and runscripts.")
        (sha256
         (base32
          "1833w397xhac5g3pp25szr2gyvclxy91aw27azvbmsx94pyk2a3q"))))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'fix-test-helpers
+           (lambda _
+             (substitute* "evil-test-helpers.el"
+               (("\\(undo-tree-mode 1\\)") ""))
+             #t)))))
     (build-system emacs-build-system)
     (home-page "https://github.com/emacs-evil/evil")
     (synopsis "Extensible Vi layer for Emacs")