me
/
guix
Archived
1
0
Fork 0

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
master
Nicolas Goaziou 2024-04-06 18:07:12 +02:00
parent 91ad8a1444
commit 7878cd0659
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 7 additions and 1 deletions

View File

@ -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))