bluez: get udevadm from udev, not systemd

Otherwise we end up referring to two different systemds, since we
already have a udev dependency.
This commit is contained in:
Alyssa Ross
2025-06-11 09:49:12 +02:00
parent 9baf24bcd3
commit 21669b002b
+1 -2
View File
@@ -13,7 +13,6 @@
pkg-config,
python3Packages,
readline,
systemdMinimal,
udev,
# Test gobject-introspection instead of pygobject because the latter
# causes an infinite recursion.
@@ -63,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
postPatch =
''
substituteInPlace tools/hid2hci.rules \
--replace-fail /sbin/udevadm ${systemdMinimal}/bin/udevadm \
--replace-fail /sbin/udevadm ${udev}/bin/udevadm \
--replace-fail "hid2hci " "$out/lib/udev/hid2hci "
''
+