guix-patches
[Top][All Lists]
Advanced

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

bug#44106: alacritty : add terminfo fix


From: Ludovic Courtès
Subject: bug#44106: alacritty : add terminfo fix
Date: Tue, 27 Oct 2020 17:41:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Fulbert <fulbert@bluewin.ch> skribis:

>   When installed on an user extra-profile, `alacritty` does not add to
> $TERMINFO_DIRS. Solved by using the attached patch. I have stolen this
> fix from the guix `rxvt-unicode` package.

[...]

> Subject: [PATCH] Apply terminfo fix (https://bugs.gnu.org/22138) (stolen from
>  rxvt-unicode package)
>
> ---
>  gnu/packages/terminals.scm | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
> index e596c1b81f..fc30550e3b 100644
> --- a/gnu/packages/terminals.scm
> +++ b/gnu/packages/terminals.scm
> @@ -1312,6 +1312,10 @@ made by suckless.")
>         ("ncurses" ,ncurses)
>         ("pkg-config" ,pkg-config)
>         ("python3" ,python)))
> +    (native-search-paths
> +      (list (search-path-specification
> +              (variable "TERMINFO_DIRS")
> +              (files '("share/terminfo")))))

I committed it (with a commit log that follows our conventions), but
added a FIXME as can be seen above in the file.  We usually avoid
workarounds for this bug but there’s a precedent in this file, so so be it!

Thanks,
Ludo’.





reply via email to

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