mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01: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
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue