gnu: emacs-eat: Patch ncurses tic executable.

* gnu/packages/emacs-xyz.scm (emacs-eat)[arguments]<#:phases>: Patch tic
executable.
[native-inputs]: Remove NCURSES.
[inputs]: Add NCURSES.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
jgart 2023-04-03 14:49:24 -05:00 committed by Nicolas Goaziou
parent 4d313b918e
commit 450045b5c3
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -27981,9 +27981,17 @@ (define-public emacs-eat
(invoke "make" "info")))
(add-before 'install 'build-terminfo-database
(lambda _
(invoke "make" "terminfo"))))))
(invoke "make" "terminfo")))
(add-before 'install 'patch-ncurses-tic-executable
(lambda* (#:key inputs #:allow-other-keys)
(let ((tic (search-input-file inputs "/bin/tic")))
(substitute* "eat.el"
(("\\(executable-find \"tic\"\\)")
(string-append "\"" tic "\"")))))))))
(native-inputs
(list ncurses texinfo))
(list texinfo))
(inputs
(list ncurses))
(home-page "https://codeberg.org/akib/emacs-eat")
(synopsis "Terminal emulator in Emacs")
(description