upower: add patch to fix udevadm verify issues (#404385)

This commit is contained in:
Sandro
2025-05-08 15:15:00 +02:00
committed by GitHub
+6 -1
View File
@@ -71,6 +71,11 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://gitlab.freedesktop.org/upower/upower/-/commit/9ee76826bd41a5d3a377dfd6f5835f42ec50be9a.patch";
hash = "sha256-E56iz/iHn+VM7Opo0a13A5nhnB9nf6C7Y1kyWzk4ZnU=";
})
# Fix style issues in the udev rules file
(fetchpatch {
url = "https://gitlab.freedesktop.org/upower/upower/-/commit/6f9d84694da56b317989b8c34250b60d833a4b29.patch";
hash = "sha256-xBUbf4qz9Llmw7CuKKMp/uPk7JqwjB4+p7z9kMOVRuE=";
})
];
strictDeps = true;
@@ -163,7 +168,7 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs src/linux/unittest_inspector.py
substituteInPlace src/linux/integration-test.py \
--replace "/usr/share/dbus-1" "$out/share/dbus-1"
--replace-fail "/usr/share/dbus-1" "$out/share/dbus-1"
'';
preCheck = ''