lol

tmux: build with utempter

with utempter tmux will be shown in who

fixes issue 155446

withUtempter argument copied from mosh

Artturin 56a57456 1682b3d0

+4 -1
+4 -1
pkgs/tools/misc/tmux/default.nix
··· 8 8 , pkg-config 9 9 , withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isStatic, systemd 10 10 , utf8proc 11 + , withUtempter ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, libutempter 11 12 }: 12 13 13 14 let ··· 44 45 ncurses 45 46 libevent 46 47 ] ++ lib.optionals withSystemd [ systemd ] 47 - ++ lib.optionals stdenv.isDarwin [ utf8proc ]; 48 + ++ lib.optionals stdenv.isDarwin [ utf8proc ] 49 + ++ lib.optionals withUtempter [ libutempter ]; 48 50 49 51 configureFlags = [ 50 52 "--sysconfdir=/etc" 51 53 "--localstatedir=/var" 52 54 ] ++ lib.optionals withSystemd [ "--enable-systemd" ] 55 + ++ lib.optionals withUtempter [ "--enable-utempter" ] 53 56 ++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ]; 54 57 55 58 enableParallelBuilding = true;