bluez5: add experimental variant

This commit is contained in:
Florian Franzen 2021-11-26 11:47:14 +01:00
parent 2cbda72c3f
commit 8d0d78efd9
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,7 @@
, readline
, systemd
, udev
, withExperimental ? false
}: let
pythonPath = with python3.pkgs; [
dbus-python
@ -84,7 +85,8 @@ in stdenv.mkDerivation rec {
# To provide ciptool, sdptool, and rfcomm (unmaintained)
# superseded by new D-Bus APIs
"--enable-deprecated"
];
] ++ lib.optional withExperimental "--enable-experimental";
# Work around `make install' trying to create /var/lib/bluetooth.
installFlags = [ "statedir=$(TMPDIR)/var/lib/bluetooth" ];

View File

@ -21814,6 +21814,10 @@ with pkgs;
bluez5 = callPackage ../os-specific/linux/bluez { };
bluez5-experimental = callPackage ../os-specific/linux/bluez {
withExperimental = true;
};
pulseaudio-modules-bt = callPackage ../applications/audio/pulseaudio-modules-bt {
# pulseaudio-modules-bt is most likely to be used with pulseaudioFull
pulseaudio = pulseaudioFull;