Unverified Commit 03a0f04c authored by Acid Bong's avatar Acid Bong
Browse files

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
parent 1aa64c8c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 ];