Merge pull request #170194 from mightyiam/patch_bluez_systemd_paths

bluez: add upstream patch for /var/lib/bluetooth

authored by Jan Tojnar and committed by GitHub e6336bdf f08d8f22

+12
+12
pkgs/os-specific/linux/bluez/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 + , fetchpatch 4 5 , alsa-lib 5 6 , dbus 6 7 , ell ··· 48 49 ]; 49 50 50 51 outputs = [ "out" "dev" ] ++ lib.optional doCheck "test"; 52 + 53 + patches = [ 54 + # https://github.com/bluez/bluez/commit/0905a06410d4a5189f0be81e25eb3c3e8a2199c5 55 + # which fixes https://github.com/bluez/bluez/issues/329 56 + # and is already merged upstream and not yet in a release. 57 + (fetchpatch { 58 + name = "StateDirectory_and_ConfigurationDirectory.patch"; 59 + url = "https://github.com/bluez/bluez/commit/0905a06410d4a5189f0be81e25eb3c3e8a2199c5.patch"; 60 + sha256 = "sha256-MI6yPTiDLHsSTjLvNqtWnuy2xUMYpSat1WhMbeoedSM="; 61 + }) 62 + ]; 51 63 52 64 postPatch = '' 53 65 substituteInPlace tools/hid2hci.rules \