1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00: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:
Matthias Beyer 2016-07-28 04:08:54 +02:00 committed by Franz Pletz
parent ad87385b0e
commit c31cbe8f9c

View file

@ -1,4 +1,6 @@
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig }:
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig
, enableDecLocator ? true
}:
stdenv.mkDerivation rec {
name = "xterm-325";
@ -27,9 +29,8 @@ stdenv.mkDerivation rec {
"--enable-doublechars"
"--enable-luit"
"--enable-mini-luit"
"--enable-dec-locator"
"--with-tty-group=tty"
];
] ++ stdenv.lib.optional enableDecLocator "--enable-dec-locator";
# Work around broken "plink.sh".
NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig";