summary refs log tree commit diff
path: root/pkgs/applications/misc/tootle/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/tootle/default.nix')
-rw-r--r--pkgs/applications/misc/tootle/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tootle/default.nix b/pkgs/applications/misc/tootle/default.nix
index f29c471d04b..c11ad8d1e98 100644
--- a/pkgs/applications/misc/tootle/default.nix
+++ b/pkgs/applications/misc/tootle/default.nix
@@ -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
   '';