summary refs log tree commit diff
diff options
context:
space:
mode:
authoraktaboot <akhtaboot@proton.mail>2023-07-01 14:08:13 +0200
committeraktaboot <akhtaboot@proton.mail>2023-07-01 21:35:32 +0200
commit77c75090b69fbc7e628b5d5c5d56e95171c1976d (patch)
treec04b3fb7e638451936eae87b378d6213e09ff28c
parentff15350944f636bd275c2eb10d2862365d6215ec (diff)
downloadnixpkgs-77c75090b69fbc7e628b5d5c5d56e95171c1976d.tar
nixpkgs-77c75090b69fbc7e628b5d5c5d56e95171c1976d.tar.gz
nixpkgs-77c75090b69fbc7e628b5d5c5d56e95171c1976d.tar.bz2
nixpkgs-77c75090b69fbc7e628b5d5c5d56e95171c1976d.tar.lz
nixpkgs-77c75090b69fbc7e628b5d5c5d56e95171c1976d.tar.xz
nixpkgs-77c75090b69fbc7e628b5d5c5d56e95171c1976d.tar.zst
nixpkgs-77c75090b69fbc7e628b5d5c5d56e95171c1976d.zip
bluez: remove sap feature from build
Remove the SAP plugin/feature from bluez as it pollutes bluetooth logs with errors :

```
bluetoothd[16277]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
bluetoothd[16277]: sap-server: Operation not permitted (1)
```

SAP= SIM Access Profile, this feature has been removed from mainline and only a dummy implementation remains : https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/profiles/sap?id=3a140aa35b7b7dc1d7b031eec40590187f70a980

More context
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803265#45
-rw-r--r--pkgs/os-specific/linux/bluez/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/bluez/default.nix b/pkgs/os-specific/linux/bluez/default.nix
index 303eb801478..acb484ba6b6 100644
--- a/pkgs/os-specific/linux/bluez/default.nix
+++ b/pkgs/os-specific/linux/bluez/default.nix
@@ -85,7 +85,6 @@ in stdenv.mkDerivation rec {
     "--enable-mesh"
     "--enable-midi"
     "--enable-nfc"
-    "--enable-sap"
     "--enable-sixaxis"
     "--enable-btpclient"
     "--enable-hid2hci"