diff --git a/Database/Persist/TH.hs b/Database/Persist/TH.hs
--- a/Database/Persist/TH.hs
+++ b/Database/Persist/TH.hs
@@ -724,7 +724,7 @@
 keyFieldName t fd = mkName $ unpack $ lowerFirst (keyText t) `mappend` (unDBName $ fieldDB fd)
 
 mkKeyToValues :: MkPersistSettings -> EntityDef -> Q Dec
-mkKeyToValues mps t = do
+mkKeyToValues _mps t = do
     (p, e) <- case entityPrimary t of
         Nothing  ->
           ([],) <$> [|backendKeyToValues . $(return $ VarE $ unKeyName t)|]
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:         2.0.0
+version:         2.0.0.1
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
