aerc: add dependency on ncurses for unknown terminals
The TUI library aerc uses, tcell, comes with a built-in database of terminal definitions. For terminals not in this database (e.g. Alacritty), an entry is generated dynamically using infocmp, part of ncurses' dev output.
This commit is contained in:
parent
72e547e2ad
commit
67912138ea
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildGoModule, fetchurl
|
{ stdenv, buildGoModule, fetchurl
|
||||||
, go, scdoc
|
, go, ncurses, scdoc
|
||||||
, python3, perl, w3m, dante
|
, python3, perl, w3m, dante
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -38,7 +38,8 @@ buildGoModule rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/aerc --prefix PATH ":" "$out/share/aerc/filters"
|
wrapProgram $out/bin/aerc --prefix PATH ":" \
|
||||||
|
"$out/share/aerc/filters:${stdenv.lib.makeBinPath [ ncurses.dev ]}"
|
||||||
wrapProgram $out/share/aerc/filters/html --prefix PATH ":" \
|
wrapProgram $out/share/aerc/filters/html --prefix PATH ":" \
|
||||||
${stdenv.lib.makeBinPath [ w3m dante ]}
|
${stdenv.lib.makeBinPath [ w3m dante ]}
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user