Unverified Commit ee15765c authored by Kenny MacDermid's avatar Kenny MacDermid
Browse files

rtkit: reduce logging

Pull in a patch from a cleaner upstream PR to reduce logging.

Slightly update the URLs used to download the existing patches
to make it easier to find the relevant PRs.

Re: NixOS/nixpkgs#180102, heftig/rtkit#22
parent 66aedfd0
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -16,14 +16,22 @@ stdenv.mkDerivation rec {

  patches = [
    (fetchpatch {
      url = "https://github.com/heftig/rtkit/commit/7d62095b94f8df3891c984a1535026d2658bb177.patch";
      name = "meson-actual-use-systemd_systemunitdir.patch";
      url = "https://github.com/heftig/rtkit/pull/19/commits/7d62095b94f8df3891c984a1535026d2658bb177.patch";
      sha256 = "17acv549zqcgh7sgprfagbf6drqsr0zdwvf1dsqda7wlqc2h9zn7";
    })

    (fetchpatch {
      url = "https://github.com/heftig/rtkit/commit/98f70edd8f534c371cb4308b9720739c5178918d.patch";
      name = "meson-fix-librt-find_library-check.patch";
      url = "https://github.com/heftig/rtkit/pull/18/commits/98f70edd8f534c371cb4308b9720739c5178918d.patch";
      sha256 = "18mnjjsdjfr184nkzi01xyphpdngi31ry4bmkv9ysjxf9wilv4nl";
    })

    (fetchpatch {
      name = "rtkit-daemon-dont-log-debug-messages-by-default.patch";
      url = "https://github.com/heftig/rtkit/pull/33/commits/ad649ee491ed1a41537774ad11564a208e598a09.patch";
      sha256 = "sha256-p+MdJVMv58rFd1uc1UFKtq83RquDSFZ3M6YfaBU12UU=";
    })
  ];

  nativeBuildInputs = [ meson ninja pkg-config unixtools.xxd ];