diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-04-06 18:07:12 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-04-06 18:20:58 +0200 |
commit | 7878cd0659ad08e46736d2adc7d89d1fbef0c854 (patch) | |
tree | 3bb04e7e5a921348f5a9a458afca361526ed78bc | |
parent | 91ad8a1444fa1b1d002e26bbed580e869723af47 (diff) | |
download | guix-7878cd0659ad08e46736d2adc7d89d1fbef0c854.tar.gz guix-7878cd0659ad08e46736d2adc7d89d1fbef0c854.zip |
gnu: emacs-fb2-reader: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-fb2-reader)[arguments]<#:phases>: Add
a phase to add compatibility with recent Buttercup.
Change-Id: Ibdef2db649d46438634e20b3aa25bcbb63c21b8d
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 53fcef869b..1dde90c54e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2723,7 +2723,13 @@ provides an optional IDE-like error list.") (lambda* (#:key inputs #:allow-other-keys) (let ((unzip (search-input-file inputs "/bin/unzip"))) (substitute* "fb2-reader.el" - (("unzip") unzip)))))))) + (("unzip") unzip))))) + (add-after 'unpack 'compatibility-with-recent-buttercup + (lambda _ + (emacs-batch-edit-file "tests/test-fb2-reader.el" + '(progn + (insert ";;; -*-lexical-binding:t-*-") + (basic-save-buffer)))))))) (inputs (list unzip)) (native-inputs (list emacs-async emacs-buttercup emacs-dash emacs-s)) |