diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+### 1.0.22
+
++ Add support for inherited dependencies
+
 ### 1.0.21
 
 + Tighten bounds in haskell-gi(-base)
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-cairo-1.0.21/docs/GI-Cairo.html](https://hackage.haskell.org/package/gi-cairo-1.0.21/docs/GI-Cairo.html)
+[https://hackage.haskell.org/package/gi-cairo-1.0.22/docs/GI-Cairo.html](https://hackage.haskell.org/package/gi-cairo-1.0.22/docs/GI-Cairo.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/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,11 +1,14 @@
 {-# LANGUAGE OverloadedStrings #-}
 
-import Data.GI.CodeGen.CabalHooks (setupHaskellGIBinding)
+import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..))
 
+
+
 main :: IO ()
-main = setupHaskellGIBinding name version verbose overridesFile outputDir
+main = setupBinding name version verbose overridesFile inheritedOverrides outputDir
   where name = "cairo"
         version = "1.0"
         overridesFile = Just "cairo.overrides"
         verbose = False
         outputDir = Nothing
+        inheritedOverrides = []
diff --git a/gi-cairo.cabal b/gi-cairo.cabal
--- a/gi-cairo.cabal
+++ b/gi-cairo.cabal
@@ -1,5 +1,5 @@
 name:                 gi-cairo
-version:              1.0.21
+version:              1.0.22
 synopsis:             Cairo bindings
 description:          Bindings for Cairo, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -16,7 +16,7 @@
 custom-setup
       setup-depends: base >= 4.9 && < 5,
                      Cabal >= 1.24,
-                     haskell-gi >= 0.22.0 && < 0.23
+                     haskell-gi >= 0.22.5 && < 0.23
 
 library
       default-language: Haskell2010
@@ -27,7 +27,7 @@
       pkgconfig-depends: cairo-gobject >= 1.0 && < 2
       build-depends: base >= 4.7 && <5,
                      haskell-gi-base >= 0.22.0 && < 0.23,
-                     haskell-gi >= 0.22.0 && < 0.23,
+                     haskell-gi >= 0.22.5 && < 0.23,
                      haskell-gi-overloading < 1.1,
                      bytestring >= 0.10 && < 1,
                      containers >= 0.5 && < 1,
@@ -38,6 +38,12 @@
       -- see https://ghc.haskell.org/trac/ghc/ticket/14382
       if impl(ghc == 8.2.*)
               build-depends: haskell-gi-overloading == 0.0
+
+      -- Note that the following list of exposed modules and autogen
+      -- modules is for documentation purposes only, so that some
+      -- documentation appears in hackage. The actual list of modules
+      -- to be built will be built at configure time, based on the
+      -- available introspection data.
 
       exposed-modules: GI.Cairo,
                        GI.Cairo.Enums,
