Merge pull request #147482 from FlorianFranzen/bluez-experimental
bluez5: add experimental variant
This commit is contained in:
commit
103a25f1f2
2 changed files with 7 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
||||||
, readline
|
, readline
|
||||||
, systemd
|
, systemd
|
||||||
, udev
|
, udev
|
||||||
|
, withExperimental ? false
|
||||||
}: let
|
}: let
|
||||||
pythonPath = with python3.pkgs; [
|
pythonPath = with python3.pkgs; [
|
||||||
dbus-python
|
dbus-python
|
||||||
|
@ -84,7 +85,8 @@ in stdenv.mkDerivation rec {
|
||||||
# To provide ciptool, sdptool, and rfcomm (unmaintained)
|
# To provide ciptool, sdptool, and rfcomm (unmaintained)
|
||||||
# superseded by new D-Bus APIs
|
# superseded by new D-Bus APIs
|
||||||
"--enable-deprecated"
|
"--enable-deprecated"
|
||||||
];
|
] ++ lib.optional withExperimental "--enable-experimental";
|
||||||
|
|
||||||
|
|
||||||
# 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" ];
|
||||||
|
|
|
@ -22075,6 +22075,10 @@ with pkgs;
|
||||||
|
|
||||||
bluez5 = callPackage ../os-specific/linux/bluez { };
|
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 = callPackage ../applications/audio/pulseaudio-modules-bt {
|
||||||
# pulseaudio-modules-bt is most likely to be used with pulseaudioFull
|
# pulseaudio-modules-bt is most likely to be used with pulseaudioFull
|
||||||
pulseaudio = pulseaudioFull;
|
pulseaudio = pulseaudioFull;
|
||||||
|
|
Loading…
Reference in a new issue