diff --git a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix index abff47fbd8b8..5588bd93374f 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,16 @@ stdenv.mkDerivation rec { sha256 = "sha256-B1wo1N4heG872klFJOBKOEds0+6aqtvkTGefi97bdU8="; }; + patches = [ + # Backports https://github.com/elementary/notifications/pull/184 + # Needed for https://github.com/elementary/wingpanel-indicator-notifications/pull/252 + # Should be part of next bump + (fetchpatch { + url = "https://github.com/elementary/notifications/commit/bd159979dbe3dbe6f3f1da7acd8e0721cc20ef80.patch"; + sha256 = "sha256-cOfeXwoMVgvbA29axyN7HtYKTgCtGxAPrB2PA/x8RKY="; + }) + ]; + nativeBuildInputs = [ glib # for glib-compile-schemas meson