systemd: add option to build with "--enable-kdbus"

This commit is contained in:
Thomas Strobel 2015-10-02 12:07:54 +02:00
parent 213bb58752
commit 26150153ba

View file

@ -3,6 +3,7 @@
, glib, kbd, libxslt, coreutils, libgcrypt
, kexectools, libmicrohttpd, linuxHeaders
, pythonPackages ? null, pythonSupport ? false
, enableKDbus ? false
}:
assert stdenv.isLinux;
@ -60,7 +61,7 @@ stdenv.mkDerivation rec {
"--with-sysvinit-path="
"--with-sysvrcnd-path="
"--with-rc-local-script-path-stop=/etc/halt.local"
];
] ++ stdenv.lib.optional enableKDbus "--enable-kdbus";
preConfigure =
''