diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-06-24 18:29:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 18:29:15 -0500 |
commit | 51e45b0d2bb371f4f30e6f60df85791e5c1bb275 (patch) | |
tree | e86557cd4fd9cd92be10f6306e8c7aa649cfbca9 /pkgs/tools | |
parent | 5c39c812605281ad8b2ca05525281c42cb991ae6 (diff) | |
parent | 5771e8fcddc1c71703a62abbdbb6536488d6aa32 (diff) |
Merge pull request #178816 from midchildan/fix/tmux-static
tmux: fix static build
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/tmux/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix index fd4361d27678a..44cbe713f096e 100644 --- a/pkgs/tools/misc/tmux/default.nix +++ b/pkgs/tools/misc/tmux/default.nix @@ -6,7 +6,7 @@ , libevent , ncurses , pkg-config -, systemd +, withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isStatic, systemd , utf8proc }: @@ -43,13 +43,13 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses libevent - ] ++ lib.optionals stdenv.isLinux [ systemd ] + ] ++ lib.optionals withSystemd [ systemd ] ++ lib.optionals stdenv.isDarwin [ utf8proc ]; configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var" - ] ++ lib.optionals stdenv.isLinux [ "--enable-systemd" ] + ] ++ lib.optionals withSystemd [ "--enable-systemd" ] ++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ]; enableParallelBuilding = true; |