aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-03-18 09:17:47 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-03-18 09:17:47 +0100
commitdc2d352eb1974273e13b3a8f11aee27ae7c1f802 (patch)
treedced6c526898b14146c15e6da6e96c76cd804a9d /gnu/packages
parent9ec7774f4a7e6829e977e499cc3ff90ec90bef5b (diff)
downloadguix-dc2d352eb1974273e13b3a8f11aee27ae7c1f802.tar.gz
guix-dc2d352eb1974273e13b3a8f11aee27ae7c1f802.zip
gnu: emacs-subed: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-subed)[arguments]<#:phases>: Add lexical binding to test file as required by Buttercup 1.34. Change-Id: Ie4c13dd6e1a2bcacdcf1450db1dc1d900ee34971
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm9
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")