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
This commit is contained in:
parent
91ad8a1444
commit
7878cd0659
1 changed files with 7 additions and 1 deletions
|
@ -2723,7 +2723,13 @@ provides an optional IDE-like error list.")
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((unzip (search-input-file inputs "/bin/unzip")))
|
(let ((unzip (search-input-file inputs "/bin/unzip")))
|
||||||
(substitute* "fb2-reader.el"
|
(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))
|
(inputs (list unzip))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list emacs-async emacs-buttercup emacs-dash emacs-s))
|
(list emacs-async emacs-buttercup emacs-dash emacs-s))
|
||||||
|
|
Reference in a new issue