elementary-planner: fix build with vala 0.56

main
Bobby Rong 2 years ago
parent 76ab64ad6c
commit 4d201e7ae5
No known key found for this signature in database
GPG Key ID: ED07364437C91161
  1. 5
      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
'';

Loading…
Cancel
Save