diff --git a/dhall-openapi.cabal b/dhall-openapi.cabal
--- a/dhall-openapi.cabal
+++ b/dhall-openapi.cabal
@@ -1,6 +1,6 @@
 Cabal-Version:  >=1.10
 Name:           dhall-openapi
-Version:        1.0.1
+Version:        1.0.2
 Homepage:       https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-openapi#dhall-openapi
 Author:         Fabrizio Ferrai
 Maintainer:     Gabriel439@gmail.com
@@ -43,7 +43,7 @@
     dhall                                          ,
     dhall-openapi                                  ,
     filepath                >= 1.4       && < 1.5  ,
-    megaparsec              >= 7.0       && < 9.1  ,
+    megaparsec              >= 7.0       && < 9.2  ,
     optparse-applicative    >= 0.14.3.0  && < 0.17 ,
     parser-combinators                             , 
     prettyprinter                                  ,
@@ -78,7 +78,7 @@
     base                    >= 4.11.0.0  && < 5    ,
     aeson                   >= 1.0.0.0   && < 1.6  ,
     containers              >= 0.5.8.0   && < 0.7  ,
-    dhall                   >= 1.38.0    && < 1.40 ,
+    dhall                   >= 1.38.0    && < 1.41 ,
     prettyprinter           >= 1.7.0     && < 1.8  ,
     scientific              >= 0.3.0.0   && < 0.4  ,
     sort                    >= 1.0       && < 1.1  ,
diff --git a/src/Dhall/Kubernetes/Convert.hs b/src/Dhall/Kubernetes/Convert.hs
--- a/src/Dhall/Kubernetes/Convert.hs
+++ b/src/Dhall/Kubernetes/Convert.hs
@@ -105,9 +105,9 @@
 namespacedObjectFromImport Dhall.Import
   { importHashed = Dhall.ImportHashed
     { importType = Dhall.Local Dhall.Here Dhall.File
-      { file = f , .. }
-    , .. }
-  , .. } = Just $ Text.replace ".dhall" "" f
+      { file = f }
+    }
+  } = Just $ Text.replace ".dhall" "" f
 namespacedObjectFromImport _ = Nothing
 
 -- | Get a Dhall Text literal from a lone string
