summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-03-17 16:31:40 +0800
committerBobby Rong <rjl931189261@126.com>2022-03-18 09:55:52 +0800
commit4d201e7ae5b53114ecc19e3a5268081adb9f70b3 (patch)
tree2878e5b4e5261ed34dd3c84db58b7a1424fd94b4 /pkgs/applications/office
parent76ab64ad6c10b2bab9934f66a841e7db9b8bf3f7 (diff)
downloadnixpkgs-4d201e7ae5b53114ecc19e3a5268081adb9f70b3.tar
nixpkgs-4d201e7ae5b53114ecc19e3a5268081adb9f70b3.tar.gz
nixpkgs-4d201e7ae5b53114ecc19e3a5268081adb9f70b3.tar.bz2
nixpkgs-4d201e7ae5b53114ecc19e3a5268081adb9f70b3.tar.lz
nixpkgs-4d201e7ae5b53114ecc19e3a5268081adb9f70b3.tar.xz
nixpkgs-4d201e7ae5b53114ecc19e3a5268081adb9f70b3.tar.zst
nixpkgs-4d201e7ae5b53114ecc19e3a5268081adb9f70b3.zip
elementary-planner: fix build with vala 0.56
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/elementary-planner/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/office/elementary-planner/default.nix b/pkgs/applications/office/elementary-planner/default.nix
index 2cb3efd8f30..54ad0753c72 100644
--- a/pkgs/applications/office/elementary-planner/default.nix
+++ b/pkgs/applications/office/elementary-planner/default.nix
@@ -70,6 +70,11 @@ stdenv.mkDerivation rec {
     substituteInPlace src/Application.vala \
       --replace '"gtk-theme-name", "elementary"' '"gtk-theme-name", "io.elementary.stylesheet.blueberry"'
 
+    # Fix build with vala 0.56
+    # https://github.com/alainm23/planner/pull/884
+    substituteInPlace src/Application.vala \
+      --replace "public const OptionEntry[] PLANNER_OPTIONS" "private const OptionEntry[] PLANNER_OPTIONS"
+
     chmod +x build-aux/meson/post_install.py
     patchShebangs build-aux/meson/post_install.py
   '';