From 851cfda4bdff06a45384e3a2fc28451b73c2be1b Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Tue, 26 Mar 2024 10:50:14 +0800 Subject: pantheon.elementary-notifications: Fix build with Vala 0.56.16 See the mentioned issue for details. Note that it is no longer possible to build this with older Vala after this change, so I don't really know if this is actually an elementary issue. --- .../desktops/pantheon/services/elementary-notifications/default.nix | 6 ++++++ 1 file changed, 6 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 475503bfe4209..43716abfd93f9 100644 --- a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix +++ b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix @@ -44,6 +44,12 @@ stdenv.mkDerivation rec { libhandy ]; + postPatch = '' + # https://github.com/elementary/notifications/issues/222 + substituteInPlace src/FdoActionGroup.vala \ + --replace-fail "out VariantType" "out unowned VariantType" + ''; + passthru = { updateScript = nix-update-script { }; }; -- cgit 1.4.1