tmux: add utf8proc on Darwin

Without utf8proc, tmux on Darwin does not get enough information about character
widths. This means that tmux has rendering issues involving multi-byte
characters like emoji, ending up with visual artifacts.
This commit is contained in:
Brian Hicks 2022-02-25 14:24:11 -06:00
parent 2b32daedf4
commit 756cd052e7

View file

@ -6,6 +6,7 @@
, bison , bison
, ncurses , ncurses
, libevent , libevent
, utf8proc
}: }:
let let
@ -49,12 +50,12 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
ncurses ncurses
libevent libevent
]; ] ++ lib.optionals stdenv.isDarwin [ utf8proc ];
configureFlags = [ configureFlags = [
"--sysconfdir=/etc" "--sysconfdir=/etc"
"--localstatedir=/var" "--localstatedir=/var"
]; ] ++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ];
enableParallelBuilding = true; enableParallelBuilding = true;