]> dgit.raspbian.org Git - git-annex.git/commit
Fix build with ghc-8.8.x.
authorPeter Simons <simons@cryp.to>
Fri, 28 Feb 2020 10:56:48 +0000 (11:56 +0100)
committerJoey Hess <joeyh@joeyh.name>
Fri, 28 Feb 2020 16:54:20 +0000 (12:54 -0400)
commit73cf523a4b61ba0179a36462b17f9aaf4285b667
treef4e96a9b01ab4d1de51fd331eddeb4611c577227
parentc257951b85f2b2efd80e2e244c9c46070a10ec23
Fix build with ghc-8.8.x.

The 'fail' method has been moved to the 'MonadFail' class. I made the changes
so that the code still compiles with previous versions of 'base' that don't
have the new MonadFail class exported by Prelude yet.
CmdLine/GitAnnex/Options.hs
Command/Expire.hs
Command/Init.hs
Utility/HumanTime.hs