diff --git a/Database/Persist/TH.hs b/Database/Persist/TH.hs
--- a/Database/Persist/TH.hs
+++ b/Database/Persist/TH.hs
@@ -135,8 +135,14 @@
     DataD [] nameG [KindedTV backend monadTransKind] constrs
     $ map (mkName . unpack) $ entityDerives t
   where
+#if MIN_VERSION_template_haskell(2,8,0)
+    arrowK x y = ArrowT `AppT` x `AppT` y
+    monadKind = StarT `arrowK` StarT
+    monadTransKind = monadKind `arrowK` monadKind
+#else
     monadKind = StarK `ArrowK` StarK
     monadTransKind = monadKind `ArrowK` monadKind
+#endif
     mkCol x (FieldDef n _ ty as) =
         (mkName $ unpack $ recName x $ unHaskellName n,
          NotStrict,
diff --git a/persistent-template.cabal b/persistent-template.cabal
--- a/persistent-template.cabal
+++ b/persistent-template.cabal
@@ -1,5 +1,5 @@
 name:            persistent-template
-version:         1.0.0
+version:         1.0.0.1
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
