tootle: fix build with vala 0.56

This commit is contained in:
Bobby Rong 2022-03-19 17:05:21 +08:00
parent 0180c45910
commit 32daca577f
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -68,6 +68,11 @@ stdenv.mkDerivation rec {
];
postPatch = ''
# Fix build with vala 0.56
# https://github.com/bleakgrey/tootle/pull/346
substituteInPlace src/Application.vala \
--replace "public const GLib.ActionEntry[] app_entries" "private const GLib.ActionEntry[] app_entries"
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';