Merge pull request #170194 from mightyiam/patch_bluez_systemd_paths
bluez: add upstream patch for /var/lib/bluetooth
This commit is contained in:
commit
e6336bdf10
1 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, alsa-lib
|
||||
, dbus
|
||||
, ell
|
||||
|
@ -49,6 +50,17 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "out" "dev" ] ++ lib.optional doCheck "test";
|
||||
|
||||
patches = [
|
||||
# https://github.com/bluez/bluez/commit/0905a06410d4a5189f0be81e25eb3c3e8a2199c5
|
||||
# which fixes https://github.com/bluez/bluez/issues/329
|
||||
# and is already merged upstream and not yet in a release.
|
||||
(fetchpatch {
|
||||
name = "StateDirectory_and_ConfigurationDirectory.patch";
|
||||
url = "https://github.com/bluez/bluez/commit/0905a06410d4a5189f0be81e25eb3c3e8a2199c5.patch";
|
||||
sha256 = "sha256-MI6yPTiDLHsSTjLvNqtWnuy2xUMYpSat1WhMbeoedSM=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tools/hid2hci.rules \
|
||||
--replace /sbin/udevadm ${systemd}/bin/udevadm \
|
||||
|
|
Loading…
Reference in a new issue