diff options
author | Brian Hicks <brian@brianthicks.com> | 2022-02-25 14:24:11 -0600 |
---|---|---|
committer | Brian Hicks <brian@brianthicks.com> | 2022-02-25 14:26:47 -0600 |
commit | 756cd052e7da25fcfa26318c09e7e4a74ff4837c (patch) | |
tree | 48b11ec4545d22c76a60ba664306cee2221d4903 /pkgs/tools/misc/tmux | |
parent | 2b32daedf4ccd553affa7012e28d9b8c25c883d1 (diff) |
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.
Diffstat (limited to 'pkgs/tools/misc/tmux')
-rw-r--r-- | pkgs/tools/misc/tmux/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix index 90273068f3ecc..0d15386641909 100644 --- a/pkgs/tools/misc/tmux/default.nix +++ b/pkgs/tools/misc/tmux/default.nix @@ -6,6 +6,7 @@ , bison , ncurses , libevent +, utf8proc }: let @@ -49,12 +50,12 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses libevent - ]; + ] ++ lib.optionals stdenv.isDarwin [ utf8proc ]; configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var" - ]; + ] ++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ]; enableParallelBuilding = true; |