diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+## 1.7.1.2
+
+* Fix test to allow use of persistent-template-2.8
+
 ## 1.7.1.1
 
 * Fix test and relax upper bound for persistent-2.10 / persistent-template-2.7
diff --git a/test/TestSite.hs b/test/TestSite.hs
--- a/test/TestSite.hs
+++ b/test/TestSite.hs
@@ -7,6 +7,11 @@
 {-# LANGUAGE TemplateHaskell            #-}
 {-# LANGUAGE TypeFamilies               #-}
 {-# LANGUAGE UndecidableInstances       #-}
+#if __GLASGOW_HASKELL__ >= 802
+-- Retain support for older compilers, assuming dependency versions which do too
+{-# LANGUAGE DerivingStrategies         #-}
+{-# LANGUAGE StandaloneDeriving         #-}
+#endif
 
 module TestSite (
     User(..),
diff --git a/yesod-auth-hashdb.cabal b/yesod-auth-hashdb.cabal
--- a/yesod-auth-hashdb.cabal
+++ b/yesod-auth-hashdb.cabal
@@ -1,5 +1,5 @@
 name:            yesod-auth-hashdb
-version:         1.7.1.1
+version:         1.7.1.2
 license:         MIT
 license-file:    LICENSE
 author:          Patrick Brisbin, later changes Paul Rouse
