From 03a0f04ca7ccc2e46997670db9ded2fe32fc4331 Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Fri, 31 Oct 2025 06:57:18 +0200 Subject: [PATCH] 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 --- pkgs/by-name/tm/tmux/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/tm/tmux/package.nix b/pkgs/by-name/tm/tmux/package.nix index 830bb3aad435..f3b22356a735 100644 --- a/pkgs/by-name/tm/tmux/package.nix +++ b/pkgs/by-name/tm/tmux/package.nix @@ -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 ];