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
This commit is contained in:
parent
9ec7774f4a
commit
dc2d352eb1
1 changed files with 8 additions and 1 deletions
|
@ -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")
|
||||
|
|
Reference in a new issue