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.
This commit is contained in:
Joey Hess 2020-05-04 15:49:14 -04:00
parent a5830c3f6e
commit 2d51dd2e8c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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)