[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: emacs-github-review: Fix build.
From: |
guix-commits |
Subject: |
01/03: gnu: emacs-github-review: Fix build. |
Date: |
Mon, 18 Mar 2024 04:48:48 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 9ec7774f4a7e6829e977e499cc3ff90ec90bef5b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Mar 18 09:09:06 2024 +0100
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
---
gnu/packages/emacs-xyz.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 66ac39b701..6485ec4f0f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27764,8 +27764,17 @@ turn.")
(native-inputs
(list emacs-buttercup emacs-undercover))
(arguments
- `(#:tests? #t
- #:test-command '("buttercup" "-L" "test/github-review-test.el")))
+ (list
+ #: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")
(synopsis "Review GitHub pull requests within Emacs")
(description "This package provides commands to pull in, comment on, and