From e7c40a97478a4475b7d916256f0c9687d47500de Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 21 Aug 2025 20:54:32 +0200 Subject: [PATCH] tmux: disable utf8proc on 32bit platforms Currently the build fails with incompatible pointer types. We could patch around this, but it doesn't seem worth it. Technically, some 32bit platforms (other than i686-linux) could define their wchar_t in a way that is compatible with utf8proc, but we don't have great test coverage, so I'm being generous here with the check. --- pkgs/by-name/tm/tmux/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/tm/tmux/package.nix b/pkgs/by-name/tm/tmux/package.nix index 347ee235c203..830bb3aad435 100644 --- a/pkgs/by-name/tm/tmux/package.nix +++ b/pkgs/by-name/tm/tmux/package.nix @@ -10,7 +10,8 @@ runCommand, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd, - withUtf8proc ? true, + # broken on i686-linux https://github.com/tmux/tmux/issues/4597 + withUtf8proc ? !(stdenv.hostPlatform.is32bit), utf8proc, # gets Unicode updates faster than glibc withUtempter ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isMusl, libutempter,