about summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-07-25 10:45:08 +0800
committerBobby Rong <rjl931189261@126.com>2023-07-25 10:45:08 +0800
commit31f992d386162638634280bdccaa3a8243dca23b (patch)
tree65e340bc7b1bbbe507a8ae1212045b4c90a86dc9 /pkgs/desktops
parentbdb0a58369b22a8288474705928cf29cdbaa5abc (diff)
pantheon.elementary-notifications: Backport fix for broken notification filter
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/pantheon/services/elementary-notifications/default.nix10
1 files changed, 10 insertions, 0 deletions
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