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