add Other-Extensions: TemplateHaskell

Fixes a build failure of stack build --profile.
See https://ghc.haskell.org/trac/ghc/ticket/8443
This commit is contained in:
Joey Hess 2017-05-15 16:50:03 -04:00
parent 02ecf9a81f
commit e40d9a1b12
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -367,6 +367,7 @@ Executable git-annex
Extensions: PackageImports Extensions: PackageImports
-- Some things don't work with the non-threaded RTS. -- Some things don't work with the non-threaded RTS.
GHC-Options: -threaded GHC-Options: -threaded
Other-Extensions: TemplateHaskell
-- Fully optimize for production. -- Fully optimize for production.
if flag(Production) if flag(Production)