summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-02-04 18:15:34 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-02-04 18:15:34 +0100
commitf57e20d7289911a3691f089603c47cfdb828ea44 (patch)
tree0fea1bde0466e6b1ab9bdb2ea2e65e080430e90b /gnu
parentb670114590551f5f4a8272041cd98e01c93fb762 (diff)
downloadguix-f57e20d7289911a3691f089603c47cfdb828ea44.tar.gz
gnu: emacs-evil-owl: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-evil-owl)[arguments]: Use G-expressions.
<#:phases>: Skip failing test.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9fefce6dff..d30696c7be 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14326,11 +14326,19 @@ used for reverse direction.")
           (base32
            "0bqzch14whlmrcasakah3psrzswvkzd7mmi8hx5s64kfp29wbdhi"))))
       (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:test-command #~(list "make" "test")
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-before 'check 'skip-failing-test
+              (lambda _
+                (substitute* "test/evil-owl-test.el"
+                  (("\\(ert-deftest evil-owl-test-mark-string.*" all)
+                   (string-append all " (skip-unless nil)"))))))))
       (propagated-inputs
        (list emacs-evil))
-      (arguments
-       `(#:tests? #t
-         #:test-command '("make" "test")))
       (home-page "https://github.com/mamapanda/evil-owl")
       (synopsis "Preview candidates when using Evil registers and marks")
       (description