mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
add enableWiimote to bluez5 options
This commit is contained in:
parent
12a19684c7
commit
e47c1c1829
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user