diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,9 @@
 # Changelog for pantry
 
+## v0.5.1.4
+
+* Allow building with persistent-2.11 [#28](https://github.com/commercialhaskell/pantry/pull/28)
+
 ## v0.5.1.3
 
 * Handle case where tree exists in cache by blobs are missing [#27](https://github.com/commercialhaskell/pantry/issues/27)
diff --git a/pantry.cabal b/pantry.cabal
--- a/pantry.cabal
+++ b/pantry.cabal
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 550119d6be48973b6e1944d695a00d4bb9d14b12ef305a46d00eb6724877446c
+-- hash: b06a6e2c03d2ca724a7cf071d2d429b54f7af4e7fb8c026689da28163ae1538c
 
 name:           pantry
-version:        0.5.1.3
+version:        0.5.1.4
 synopsis:       Content addressable Haskell package management
 description:    Please see the README on Github at <https://github.com/commercialhaskell/pantry#readme>
 category:       Development
diff --git a/src/Pantry/Storage.hs b/src/Pantry/Storage.hs
--- a/src/Pantry/Storage.hs
+++ b/src/Pantry/Storage.hs
@@ -16,6 +16,8 @@
 {-# LANGUAGE DerivingStrategies #-}
 {-# LANGUAGE StandaloneDeriving #-}
 {-# LANGUAGE TupleSections #-}
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE FlexibleInstances #-}
 module Pantry.Storage
   ( SqlBackend
   , initStorage
