add transformers to setup-depends

per Peter Simons:

Setup.hs depends on 'transformers' for versions of base
prior to 4.9.x so that Control.Monad.IO.Class can be included. Just
adding the library to 'setup-depends' fixes the build with older
compilers like GHC 7.10.3.
This commit is contained in:
Joey Hess 2018-07-01 13:08:40 -04:00
parent 14557a3ff6
commit 841788cad4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -301,7 +301,7 @@ source-repository head
custom-setup
Setup-Depends: base (>= 4.6), hslogger, split, unix-compat, process,
filepath, exceptions, bytestring, directory, IfElse, data-default,
utf8-string, Cabal
utf8-string, transformers, Cabal
Executable git-annex
Main-Is: git-annex.hs