summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2023-04-03 14:49:24 -0500
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-04 22:16:37 +0200
commit450045b5c3d5eb62def24b4e0d735455d4f6f46d (patch)
tree67afdb2495e3f551d365566503698152969445fe /gnu
parent4d313b918ec6d2ed05dd16030a860c162e63d8a0 (diff)
downloadguix-450045b5c3d5eb62def24b4e0d735455d4f6f46d.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b4edc680ba..52c33fc146 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27981,9 +27981,17 @@ tabulated-lists).")
               (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