me
/
guix
Archived
1
0
Fork 0

gnu: emacs-github-review: Fix build.

* gnu/packages/emacs-xyz.scm (emacs-github-review)[arguments]<#:phases>: Add
lexical binding to test file as required by Buttercup 1.34.

Change-Id: I97f0dc510af5b82eeeebcfe7ac323015d8f11336
master
Nicolas Goaziou 2024-03-18 09:09:06 +01:00
parent df6ea8e9e9
commit 9ec7774f4a
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 11 additions and 2 deletions

View File

@ -27764,8 +27764,17 @@ turn.")
(native-inputs (native-inputs
(list emacs-buttercup emacs-undercover)) (list emacs-buttercup emacs-undercover))
(arguments (arguments
`(#:tests? #t (list
#:test-command '("buttercup" "-L" "test/github-review-test.el"))) #:tests? #t
#:test-command #~(list "buttercup" "-L" "test/github-review-test.el")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'compatibility-with-recent-buttercup
(lambda _
(emacs-batch-edit-file "test/github-review-test.el"
'(progn
(insert ";;; -*-lexical-binding:t-*-")
(basic-save-buffer))))))))
(home-page "https://github.com/charignon/github-review") (home-page "https://github.com/charignon/github-review")
(synopsis "Review GitHub pull requests within Emacs") (synopsis "Review GitHub pull requests within Emacs")
(description "This package provides commands to pull in, comment on, and (description "This package provides commands to pull in, comment on, and