diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+### 2.91.18
+
++ Properly annotate the return value of [terminalGetCurrentDirectoryUri](https://hackage.haskell.org/package/gi-vte-2.91.18/docs/GI-Vte-Objects-Terminal.html#v:terminalGetCurrentDirectoryUri) as nullable.
+
 ### 2.91.17
 
 + Remove enable-overloading flags, and use instead explicit CPP checks for 'haskell-gi-overloading-1.0', see [how to disable overloading](https://github.com/haskell-gi/haskell-gi/wiki/Overloading\#disabling-overloading).
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-vte-2.91.17/docs/GI-Vte.html](https://hackage.haskell.org/package/gi-vte-2.91.17/docs/GI-Vte.html)
+[https://hackage.haskell.org/package/gi-vte-2.91.18/docs/GI-Vte.html](https://hackage.haskell.org/package/gi-vte-2.91.18/docs/GI-Vte.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/Vte.overrides b/Vte.overrides
--- a/Vte.overrides
+++ b/Vte.overrides
@@ -6,3 +6,7 @@
 
 # Wrong introspection data.
 ignore Terminal.event_check_regex_simple
+
+# The return value is nullable, but it is not properly annotated as such
+# https://github.com/haskell-gi/haskell-gi/issues/179
+set-attr Vte/Terminal/get_current_directory_uri/@return-value nullable 1
diff --git a/gi-vte.cabal b/gi-vte.cabal
--- a/gi-vte.cabal
+++ b/gi-vte.cabal
@@ -1,5 +1,5 @@
 name:                 gi-vte
-version:              2.91.17
+version:              2.91.18
 synopsis:             Vte bindings
 description:          Bindings for Vte, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -9,14 +9,14 @@
 maintainer:           Iñaki García Etxebarria (garetxe@gmail.com)
 category:             Bindings
 build-type:           Custom
-cabal-version:        >= 1.24
+cabal-version:        1.24
 
 extra-source-files: README.md ChangeLog.md stack.yaml Vte.overrides
 
 custom-setup
       setup-depends: base >= 4.7 && < 5,
                      Cabal >= 1.24,
-                     haskell-gi == 0.21.*
+                     haskell-gi >= 0.21.1 && < 0.22
 
 library
       default-language: Haskell2010
@@ -27,7 +27,7 @@
       pkgconfig-depends: vte-2.91
       build-depends: base >= 4.7 && <5,
                      haskell-gi-base == 0.21.*,
-                     haskell-gi == 0.21.*,
+                     haskell-gi >= 0.21.1 && < 0.22,
                      haskell-gi-overloading < 1.1,
                      gi-pango == 1.0.*,
                      gi-gtk == 3.0.*,
