From 2d51dd2e8c63e2f5adb5507d07464bfaa9727a22 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 4 May 2020 15:49:14 -0400 Subject: [PATCH] changes required by cabal-version 1.10 Extensions got renamed. Default-Language is required. I had to put Haskell98 because there are subtle differences between 98 and 2010 and git-annex has always been built with the default, which was 98 when there was a default. I don't know how to establish that git-annex will behave the same under 2010. --- git-annex.cabal | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/git-annex.cabal b/git-annex.cabal index 477ee404a2..7af56a3d1c 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -372,10 +372,11 @@ Executable git-annex tasty-rerun CC-Options: -Wall GHC-Options: -Wall -fno-warn-tabs -Wincomplete-uni-patterns - Extensions: PackageImports, LambdaCase + Default-Language: Haskell98 + Default-Extensions: PackageImports, LambdaCase + Other-Extensions: TemplateHaskell -- Some things don't work with the non-threaded RTS. GHC-Options: -threaded - Other-Extensions: TemplateHaskell -- Fully optimize for production. if flag(Production)