guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#54182] [PATCH] gnu: foot: Add TERMINFO_DIRS to the search paths


From: Kevin Boulain
Subject: [bug#54182] [PATCH] gnu: foot: Add TERMINFO_DIRS to the search paths
Date: Sun, 27 Feb 2022 15:37:01 +0100

A few other terminals in this file already do that to expose the
terminfo database. Without it, other programs will complain about
the "unknown terminal: foot".

* gnu/packages/terminals.scm (foot): Export TERMINFO_DIRS.
---
 gnu/packages/terminals.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 06fa341472..a9500d6626 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -858,6 +858,12 @@ (define-public foot
            pkg-config scdoc wayland-protocols))
     (inputs
      (list fcft libxkbcommon wayland))
+    (native-search-paths
+     ;; FIXME: This should only be located in 'ncurses'.  Nonetheless it is
+     ;; provided for usability reasons.  See <https://bugs.gnu.org/22138>.
+     (list (search-path-specification
+            (variable "TERMINFO_DIRS")
+            (files '("share/terminfo")))))
     (synopsis "Wayland-native terminal emulator")
     (description
      "@command{foot} is a terminal emulator for systems using the Wayland
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]