Merge pull request #147482 from FlorianFranzen/bluez-experimental

bluez5: add experimental variant
This commit is contained in:
Bernardo Meurer 2022-01-23 03:18:41 +00:00 committed by GitHub
commit 103a25f1f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -22075,6 +22075,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;