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:
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user