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.
This commit is contained in:
sternenseemann
2025-08-21 20:56:23 +02:00
parent 82b0aed7bf
commit e7c40a9747
+2 -1
View File
@@ -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,