Skip to content

Commit

Permalink
webkit2-sharp: Workaround build failure with WebKitGTK 2.40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bobby285271 committed Apr 12, 2023
1 parent 5996268 commit 029a32f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/webkit2-sharp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ stdenv.mkDerivation rec {
webkitgtk
];

postPatch = ''
# Workaround build failure with WebKitGTK 2.40.0
# https://github.com/hbons/webkit2-sharp/issues/6
substituteInPlace sources/webkit2-sharp-api.raw --replace \
'<field cname="parentInstance" access="public" writeable="false" readable="true" name="ParentInstance" type="GtkContainer*"/>' \
'<field cname="parent" access="public" writeable="false" readable="true" name="Parent" type="GtkContainer*"/>'
'';

ac_cv_path_MONODOCER = "no";
installFlagsArray = ["GAPIXMLDIR=/tmp/gapixml"];

Expand Down

0 comments on commit 029a32f

Please sign in to comment.