From 31f992d386162638634280bdccaa3a8243dca23b Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Tue, 25 Jul 2023 10:45:08 +0800 Subject: pantheon.elementary-notifications: Backport fix for broken notification filter --- .../pantheon/services/elementary-notifications/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pkgs/desktops') diff --git a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix index 298b89d7e97f6..4f44b337fd187 100644 --- a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix +++ b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , nix-update-script , meson , ninja @@ -27,6 +28,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-i7fSKnP4W12cfax5IXm/Zgy5vP5z7S43S80gvzWpFCE="; }; + patches = [ + # Fix broken notification filter + # https://github.com/elementary/notifications/pull/207 + (fetchpatch { + url = "https://github.com/elementary/notifications/commit/4691ec869316be94598d8e55e1cd3bd525e8e149.patch"; + sha256 = "sha256-4x/Us92Mgws5v+ZQiKvjQ4ixfBnU8oTQ92rc+nf8Zdg="; + }) + ]; + nativeBuildInputs = [ glib # for glib-compile-schemas meson -- cgit 1.4.1