Unverified Commit 31b65676 authored by r-vdp's avatar r-vdp
Browse files

upower: add patch to fix udevadm verify issues

parent 29daeb69
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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 = ''