diff --git a/srcpkgs/libaccounts-glib/template b/srcpkgs/libaccounts-glib/template index ad3a6e0621..9b86ed45ed 100644 --- a/srcpkgs/libaccounts-glib/template +++ b/srcpkgs/libaccounts-glib/template @@ -17,9 +17,9 @@ checksum=eebb1c6debfcf929efb388a0f28d8cc8ec9b32f273e4abe4224a33e5d299cd73 if [ "$CROSS_BUILD" ]; then # Remove docs. During install of package, it will try # to run target binary with host, which causes exec error - pre_build() { - vsed -e '/docs/d' -i meson.build - } + post_patch() { + vsed -e '/docs/d' -i meson.build + } fi libaccounts-glib-devel_package() {