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.
This commit is contained in:
Bobby Rong
2024-04-22 21:11:24 +02:00
committed by Maxine Aubrey
parent 1b1c766251
commit 851cfda4bd
@@ -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 { };
};