bluez: add disconnects hotfix (#117680)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Yurii Matsiuk <ymatsiuk@users.noreply.github.com>
Co-authored-by: WORLDofPEACE <worldofpeace@protonmail.ch>
launchpad/nixpkgs/master
Yurii Matsiuk 3 years ago committed by GitHub
parent 33d1f480ac
commit d44440cec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      pkgs/os-specific/linux/bluez/default.nix

@ -1,5 +1,6 @@
{ stdenv
, lib
, fetchpatch
, fetchurl
, alsaLib
, dbus
@ -44,6 +45,15 @@ in stdenv.mkDerivation rec {
outputs = [ "out" "dev" ] ++ lib.optional doCheck "test";
patches = [
# Fixes https://github.com/NixOS/nixpkgs/issues/117663
(fetchpatch {
name = "disconnect-fix.patch";
url = "https://github.com/bluez/bluez/commit/28ddec8d6b829e002fa268c07b71e4c564ba9e16.patch";
sha256 = "sha256-vzMf1i44e4JrpL7cXbn9oDr+3B+Glf7dPW3QDstEnEM=";
})
];
postPatch = ''
substituteInPlace tools/hid2hci.rules \
--replace /sbin/udevadm ${systemd}/bin/udevadm \

Loading…
Cancel
Save