mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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:
parent
2b32daedf4
commit
756cd052e7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user