mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-10 22:30:59 +00:00
tmux: fix darwin build (#555604)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
ncurses,
|
||||
pkg-config,
|
||||
runCommand,
|
||||
jemalloc,
|
||||
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemdLibs,
|
||||
systemdLibs,
|
||||
# broken on i686-linux https://github.com/tmux/tmux/issues/4597
|
||||
@@ -49,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
ncurses
|
||||
libevent
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ jemalloc ]
|
||||
++ lib.optionals withSystemd [ systemdLibs ]
|
||||
++ lib.optionals withUtf8proc [ utf8proc ]
|
||||
++ lib.optionals withUtempter [ libutempter ];
|
||||
@@ -57,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ "--enable-jemalloc" ]
|
||||
++ lib.optionals withSystemd [ "--enable-systemd" ]
|
||||
++ lib.optionals withSixel [ "--enable-sixel" ]
|
||||
++ lib.optionals withUtempter [ "--enable-utempter" ]
|
||||
|
||||
Reference in New Issue
Block a user