diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-07-28 04:08:54 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-07-28 04:08:54 +0200 |
commit | c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95 (patch) | |
tree | bc6c6a0a6ca91ba186a7232e75834baf415af636 /pkgs/applications/misc | |
parent | ad87385b0ee8c0136107ba6a6c805d1602bb29dc (diff) | |
download | nixlib-c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95.tar nixlib-c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95.tar.gz nixlib-c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95.tar.bz2 nixlib-c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95.tar.lz nixlib-c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95.tar.xz nixlib-c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95.tar.zst nixlib-c31cbe8f9ca17f0c9a8a1d3966399108a7e5dd95.zip |
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
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/xterm/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/misc/xterm/default.nix b/pkgs/applications/misc/xterm/default.nix index 9cd677f5d8d5..adc0c3c9fb63 100644 --- a/pkgs/applications/misc/xterm/default.nix +++ b/pkgs/applications/misc/xterm/default.nix @@ -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"; |