mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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
|
||||
, go, scdoc
|
||||
, go, ncurses, scdoc
|
||||
, python3, perl, w3m, dante
|
||||
}:
|
||||
|
||||
@ -38,7 +38,8 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
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 ":" \
|
||||
${stdenv.lib.makeBinPath [ w3m dante ]}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user