mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
xterm: Make dec-locator support optional (#17238)
Enable it by default but allow disabling, which solves some issues one might have with vim/nvim as reported and documented in #17158 #17170 #17234 neovim/neovim#5015
This commit is contained in:
parent
ad87385b0e
commit
c31cbe8f9c
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig }:
|
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig
|
||||||
|
, enableDecLocator ? true
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xterm-325";
|
name = "xterm-325";
|
||||||
@ -27,9 +29,8 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-doublechars"
|
"--enable-doublechars"
|
||||||
"--enable-luit"
|
"--enable-luit"
|
||||||
"--enable-mini-luit"
|
"--enable-mini-luit"
|
||||||
"--enable-dec-locator"
|
|
||||||
"--with-tty-group=tty"
|
"--with-tty-group=tty"
|
||||||
];
|
] ++ stdenv.lib.optional enableDecLocator "--enable-dec-locator";
|
||||||
|
|
||||||
# Work around broken "plink.sh".
|
# Work around broken "plink.sh".
|
||||||
NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig";
|
NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig";
|
||||||
|
Loading…
Reference in New Issue
Block a user