From ee15765c6519e59b9197661d8ba91c935a12a32e Mon Sep 17 00:00:00 2001 From: Kenny MacDermid Date: Thu, 3 Aug 2023 21:30:53 -0300 Subject: [PATCH] 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 --- pkgs/os-specific/linux/rtkit/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/rtkit/default.nix b/pkgs/os-specific/linux/rtkit/default.nix index fb41863c431d..69d32079d5c7 100644 --- a/pkgs/os-specific/linux/rtkit/default.nix +++ b/pkgs/os-specific/linux/rtkit/default.nix @@ -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 ];