diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+### 2.0.21
+
++ Do not try to generate bindings for g_content_type_[gs]et_mime_dirs in OSX, as these are not available there. See https://github.com/haskell-gi/haskell-gi/issues/227.
+
 ### 2.0.20
 
 + Update to haskell-gi(-base) 0.22
diff --git a/Gio.overrides b/Gio.overrides
--- a/Gio.overrides
+++ b/Gio.overrides
@@ -61,7 +61,14 @@
    ignore UnixFDList.new_from_array
    ignore DBusProxy.call_with_unix_fd_list_finish
    ignore DBusProxy.call_with_unix_fd_list_sync
-   ignore DBusProxy.call_with_unix_fd_list   
+   ignore DBusProxy.call_with_unix_fd_list
+endif
+
+# Wrongly included in the OSX introspection data, see
+# https://github.com/haskell-gi/haskell-gi/issues/227
+if osx
+   delete-node Gio/content_type_get_mime_dirs
+   delete-node Gio/content_type_set_mime_dirs
 endif
 
 # Generated from gio 2.48.0 with xsltproc Nullable.xslt Gio-2.0.gir
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Documentation
 Autogenerated documentation for this package can be found at
 
-[https://hackage.haskell.org/package/gi-gio-2.0.20/docs/GI-Gio.html](https://hackage.haskell.org/package/gi-gio-2.0.20/docs/GI-Gio.html)
+[https://hackage.haskell.org/package/gi-gio-2.0.21/docs/GI-Gio.html](https://hackage.haskell.org/package/gi-gio-2.0.21/docs/GI-Gio.html)
 
 For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
diff --git a/gi-gio.cabal b/gi-gio.cabal
--- a/gi-gio.cabal
+++ b/gi-gio.cabal
@@ -1,5 +1,5 @@
 name:                 gi-gio
-version:              2.0.20
+version:              2.0.21
 synopsis:             Gio bindings
 description:          Bindings for Gio, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
