summary refs log tree commit diff
path: root/pkgs/os-specific/linux/bluez
diff options
context:
space:
mode:
authorFlorian Franzen <Florian.Franzen@gmail.com>2021-11-26 11:47:14 +0100
committerFlorian Franzen <Florian.Franzen@gmail.com>2021-11-26 12:49:55 +0100
commit8d0d78efd9b80a1ea82f138c40fb5505a6fee50f (patch)
treeb6cf14ae17211d8c42f22d59eb989e349ac4742a /pkgs/os-specific/linux/bluez
parent2cbda72c3fdcefc791581e6b2dc5092edad6100a (diff)
downloadnixpkgs-8d0d78efd9b80a1ea82f138c40fb5505a6fee50f.tar
nixpkgs-8d0d78efd9b80a1ea82f138c40fb5505a6fee50f.tar.gz
nixpkgs-8d0d78efd9b80a1ea82f138c40fb5505a6fee50f.tar.bz2
nixpkgs-8d0d78efd9b80a1ea82f138c40fb5505a6fee50f.tar.lz
nixpkgs-8d0d78efd9b80a1ea82f138c40fb5505a6fee50f.tar.xz
nixpkgs-8d0d78efd9b80a1ea82f138c40fb5505a6fee50f.tar.zst
nixpkgs-8d0d78efd9b80a1ea82f138c40fb5505a6fee50f.zip
bluez5: add experimental variant
Diffstat (limited to 'pkgs/os-specific/linux/bluez')
-rw-r--r--pkgs/os-specific/linux/bluez/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/bluez/default.nix b/pkgs/os-specific/linux/bluez/default.nix
index 2c05a4aa271..5e81cf6b2c1 100644
--- a/pkgs/os-specific/linux/bluez/default.nix
+++ b/pkgs/os-specific/linux/bluez/default.nix
@@ -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" ];