diff options
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6485ec4f0f..dbd8ebe879 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -8958,7 +8958,14 @@ user.") (arguments (list #:tests? #t - #:test-command #~(list "make" "test-only"))) + #:test-command #~(list "make" "test-only") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'compatibility-with-recent-buttercup + (lambda _ + (substitute* (find-files "tests/" "\\.el$") + (("\\(buttercup-minor-mode\\) -\\*-") + "(buttercup-minor-mode); lexical-binding: t -*-"))))))) (native-inputs (list emacs-buttercup)) (build-system emacs-build-system) (home-page "https://elpa.nongnu.org/nongnu/subed.html") |