about summary refs log tree commit diff
path: root/pkgs/applications/misc/appeditor
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-03-19 16:48:16 +0800
committerBobby Rong <rjl931189261@126.com>2022-03-19 17:16:33 +0800
commit0180c45910c9f2215d1e11cca5975bcde5bc3f3b (patch)
treec0cb648bc800cb50125b5da10cd4776fe09f28fd /pkgs/applications/misc/appeditor
parent8523b08ea654262fd994ec543e9940dd182b0b11 (diff)
appeditor: fix build with vala 0.56
Diffstat (limited to 'pkgs/applications/misc/appeditor')
-rw-r--r--pkgs/applications/misc/appeditor/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/appeditor/default.nix b/pkgs/applications/misc/appeditor/default.nix
index cf1303422d27b..9e38a208e179f 100644
--- a/pkgs/applications/misc/appeditor/default.nix
+++ b/pkgs/applications/misc/appeditor/default.nix
@@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
   ];
 
   postPatch = ''
+    # Fix build with vala 0.56
+    # https://github.com/donadigo/appeditor/pull/122
+    substituteInPlace src/Application.vala \
+      --replace "private static string? create_exec_filename;" "public static string? create_exec_filename;"
+
     chmod +x meson/post_install.py
     patchShebangs meson/post_install.py
   '';