mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-persp-mode: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-persp-mode)[arguments]: Add {test-command} and phase 'tests-add-lexical-bindings. [native-inputs]: Add emacs-buttercup. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
f129d98b36
commit
89d0623498
1 changed files with 12 additions and 0 deletions
|
@ -14554,6 +14554,18 @@ perspective only its buffers are available by default.")
|
|||
(base32
|
||||
"0y29vyvqdfxcpmzkyv2c6msbshx2f680izk2r0djrqj08ii8zmpr"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list #:test-command
|
||||
#~(list "buttercup" "-L" "." "-L" "tests")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'tests-add-lexical-bindings
|
||||
(lambda _
|
||||
(substitute* "tests/test-persp-mode.el"
|
||||
(("\\(require 'buttercup-init\\)" all)
|
||||
(string-append ";;; -*- lexical-binding: t; -*-\n"
|
||||
all))))))))
|
||||
(native-inputs (list emacs-buttercup))
|
||||
(home-page "https://github.com/Bad-ptr/persp-mode.el")
|
||||
(synopsis "Switch between named \"perspectives\" shared among frames")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue