From 7b9f3501a40155ac05ea5b4fcda21e7f06d477ee Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Wed, 19 Jan 2022 13:42:04 -0500 Subject: Support more language extensions for persistent Recent persistent requires more language extensions to generate entities. Turn them on where appropriate. --- git-annex.cabal | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'git-annex.cabal') diff --git a/git-annex.cabal b/git-annex.cabal index d51c73003..3e31b7aa1 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -265,7 +265,13 @@ Executable git-annex Extensions: PackageImports, LambdaCase -- Some things don't work with the non-threaded RTS. GHC-Options: -threaded - Other-Extensions: TemplateHaskell + Other-Extensions: + TemplateHaskell, + DerivingStrategies, + StandaloneDeriving, + UndecidableInstances, + DataKinds, + FlexibleInstances -- Fully optimize for production. if flag(Production) -- cgit v1.2.3