upower: fixup tests by upstream patch

According to the upstream merge request,
the upower tests got broken since ad9a05b57c.
This commit is contained in:
Vladimír Čunát 2024-03-14 08:32:23 +01:00
parent c866a07331
commit 56d8697a63
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, makeWrapper
, pkg-config
, libxslt
@ -51,6 +52,10 @@ stdenv.mkDerivation (finalAttrs: {
./i686-test-remove-battery-check.patch
] ++ [
./installed-tests-path.patch
(fetchpatch {
url = "https://gitlab.freedesktop.org/upower/upower/-/merge_requests/207.diff";
hash = "sha256-ldr1bKbSAdYpwbbe/Iq9i0Q9zQrHWvIvBGym/F3+vxs=";
})
];
strictDeps = true;