add enableWiimote to bluez5 options

This commit is contained in:
Cray Elliott 2014-08-25 03:45:36 -07:00
parent 12a19684c7
commit e47c1c1829

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib, python,
pythonPackages, pythonDBus, readline, libsndfile, udev, libical,
systemd }:
systemd, enableWiimote ? false }:
assert stdenv.isLinux;
@ -38,7 +38,8 @@ stdenv.mkDerivation rec {
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
"--with-systemduserunitdir=$(out)/etc/systemd/user"
"--with-udevdir=$(out)/lib/udev"
];
] ++
stdenv.lib.optionalString enableWiimote ["--enable-wiimote"];
# Work around `make install' trying to create /var/lib/bluetooth.
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";