diff --git a/Database/Persist/TH.hs b/Database/Persist/TH.hs
--- a/Database/Persist/TH.hs
+++ b/Database/Persist/TH.hs
@@ -621,7 +621,9 @@
 
 pack' :: String -> Text
 pack' = pack
+#if !MIN_VERSION_text(0, 11, 2)
 {-# NOINLINE pack' #-}
+#endif
 
 liftT :: Text -> Q Exp
 liftT t = [|pack' $(lift (unpack t))|]
diff --git a/persistent-template.cabal b/persistent-template.cabal
--- a/persistent-template.cabal
+++ b/persistent-template.cabal
@@ -1,6 +1,6 @@
 name:            persistent-template
-version:         0.9.0
-license:         BSD3
+version:         0.9.0.1
+license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
 maintainer:      Michael Snoyman <michael@snoyman.com>
