Bug#965064: pkg-haskell-tools: FTBFS in unstable

Iain Lane laney at debian.org
Wed Jul 15 15:09:24 BST 2020


On Wed, Jul 15, 2020 at 02:40:39PM +0100, Dimitri John Ledkov wrote:
>     • No instance for (MonadFail Action) arising from a use of ‘fail’

AFAIK (slightly out of the loop), this is because fail is not a part of 
Monad any more

  https://downloads.haskell.org/~ghc/8.8.1/docs/html/users_guide/8.8.1-notes.html

Upgrading shake will fix this, or it can be worked around in the 
meantime in pkg-haskell-tools by

import Control.Monad.Fail as fail

instance MonadFail Action where
  fail = Fail.fail

Don't have time to upload it myself, but HTH.

Cheers,

-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20200715/34c75b6f/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list