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