tmux: replace systemd with systemdLibs

1. SD executables aren't used anyway
2. It noticeably reduces closure size

Tail of `dix result-*` output:
  SIZE: 177 MiB -> 41.4 MiB
  DIFF: -135 MiB
This commit is contained in:
Acid Bong
2025-10-31 07:02:50 +02:00
parent 1aa64c8cf9
commit 03a0f04ca7
+3 -3
View File
@@ -8,8 +8,8 @@
ncurses,
pkg-config,
runCommand,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemdLibs,
systemdLibs,
# broken on i686-linux https://github.com/tmux/tmux/issues/4597
withUtf8proc ? !(stdenv.hostPlatform.is32bit),
utf8proc, # gets Unicode updates faster than glibc
@@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
ncurses
libevent
]
++ lib.optionals withSystemd [ systemd ]
++ lib.optionals withSystemd [ systemdLibs ]
++ lib.optionals withUtf8proc [ utf8proc ]
++ lib.optionals withUtempter [ libutempter ];