transmission: add enableCli flag
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
, openssl, curl, libevent, inotify-tools, systemd, zlib
|
, openssl, curl, libevent, inotify-tools, systemd, zlib
|
||||||
, enableGTK3 ? false, gtk3
|
, enableGTK3 ? false, gtk3
|
||||||
, enableSystemd ? stdenv.isLinux
|
, enableSystemd ? stdenv.isLinux
|
||||||
|
, enableCli ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-cli"
|
("--enable-cli=" + (if enableCli then "yes" else "no"))
|
||||||
]
|
]
|
||||||
++ optional enableSystemd "--with-systemd-daemon"
|
++ optional enableSystemd "--with-systemd-daemon"
|
||||||
++ optional enableGTK3 "--with-gtk";
|
++ optional enableGTK3 "--with-gtk";
|
||||||
|
|||||||
Reference in New Issue
Block a user