tmux: fix static build
This commit is contained in:
parent
836c183c60
commit
5771e8fcdd
|
@ -6,7 +6,7 @@
|
||||||
, libevent
|
, libevent
|
||||||
, ncurses
|
, ncurses
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, systemd
|
, withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isStatic, systemd
|
||||||
, utf8proc
|
, utf8proc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -43,13 +43,13 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ncurses
|
ncurses
|
||||||
libevent
|
libevent
|
||||||
] ++ lib.optionals stdenv.isLinux [ systemd ]
|
] ++ lib.optionals withSystemd [ systemd ]
|
||||||
++ lib.optionals stdenv.isDarwin [ utf8proc ];
|
++ lib.optionals stdenv.isDarwin [ utf8proc ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
] ++ lib.optionals stdenv.isLinux [ "--enable-systemd" ]
|
] ++ lib.optionals withSystemd [ "--enable-systemd" ]
|
||||||
++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ];
|
++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue