[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: heads-up: Haskell updates
From: |
Ricardo Wurmus |
Subject: |
Re: heads-up: Haskell updates |
Date: |
Sat, 17 Feb 2018 14:04:31 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
Ricardo Wurmus <address@hidden> writes:
> Timothy Sample <address@hidden> writes:
>
>> Ricardo Wurmus <address@hidden> writes:
>>
>>> I think that’s a misunderstanding. The cause for the error is earlier
>>> when it complains that some packages depend on different versions of the
>>> “transformers” package. “StateT” is a monad transformer.
>>
>> For what it’s worth, I fixed this error on my machine by adding
>> “ghc-transformers” as an input to “ghc-transformers-compat”. (This also
>> fixed “ghc-adjunctions”.) This suggests to me that what you wrote
>> earlier accounts for the problem:
>>
>>> * many problems are caused by the fact that GHC includes a bunch of
>>> packages that really shouldn’t be overridden by packages. Examples
>>> are ghc-directory, ghc-binary, ghc-bytestring, etc. Since we still
>>> have packages where these inputs are used, there can be conflicts down
>>> the line, which are hard to fix.
>
> The solution might be to remove ghc-transformers from all packages that
> currently have it as an input rather than add it wherever the
> transformers is required. This seems to be only ghc-mtl. I’ve removed
> it and am building ghc-mtl and ghc-resourcet now.
I’ve built ghc-resourcet successfully with this change. I’d be happy if
those of you who reported build failures could please retry building
ghc-resourcet with current master or core-updates (the fix to ghc-mtl is
on both branches now).
Thanks in advance!
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
- Re: heads-up: Haskell updates, (continued)
- Re: heads-up: Haskell updates, Danny Milosavljevic, 2018/02/14
- Re: heads-up: Haskell updates, Mark H Weaver, 2018/02/15
- Re: heads-up: Haskell updates, Ricardo Wurmus, 2018/02/15
- Re: heads-up: Haskell updates, Mark H Weaver, 2018/02/15
- Re: heads-up: Haskell updates, Timothy Sample, 2018/02/15
- Re: heads-up: Haskell updates, Ricardo Wurmus, 2018/02/15
- Re: heads-up: Haskell updates, Ricardo Wurmus, 2018/02/17
- Re: heads-up: Haskell updates,
Ricardo Wurmus <=
- Re: heads-up: Haskell updates, Andreas Enge, 2018/02/17
- Re: heads-up: Haskell updates, Ricardo Wurmus, 2018/02/17
- Re: heads-up: Haskell updates, Mark H Weaver, 2018/02/17
- core-updates, last call?, Leo Famulari, 2018/02/17
- Re: core-updates, last call?, Ricardo Wurmus, 2018/02/17
- Re: core-updates, last call?, Pjotr Prins, 2018/02/18
- Re: core-updates, last call?, Ricardo Wurmus, 2018/02/18
- Re: heads-up: Haskell updates, Chris Marusich, 2018/02/18
- Re: heads-up: Haskell updates, Mark H Weaver, 2018/02/15
- Re: heads-up: Haskell updates, Danny Milosavljevic, 2018/02/15