[web-devel] yesod dependency hell

Michael Litchard michael at schmong.org
Wed Jun 22 23:52:05 CEST 2011


Thomas,
             I tried what you suggested and I still have the exact same problem.

On Wed, Jun 22, 2011 at 1:50 PM, Michael Litchard <michael at schmong.org> wrote:
> My thinking is that this problem comes up anytime someone wants to
> play around with experimental code. As evidenced by the
> yesodwiki.cabal file, I think there's a more straightforward solution.
> I'm just not seeing it.
>
> On Wed, Jun 22, 2011 at 1:46 PM, Thomas Hartman
> <thomashartman1 at googlemail.com> wrote:
>> one idea: move .ghc and .cabal to temp directory.
>>
>> start over with a clean slate.
>>
>> On Wed, Jun 22, 2011 at 1:30 PM, Michael Litchard <michael at schmong.org> wrote:
>>> Configuring Aframe-0.0.1...
>>> Warning: This package indirectly depends on multiple versions of the same
>>> package. This is highly likely to cause a compile failure.
>>> package yesod-auth-0.4.0.2 requires yesod-form-0.1.0.1
>>> package yesod-0.8.2.1 requires yesod-form-0.1.0.1
>>> package Aframe-0.0.1 requires yesod-form-0.2.0
>>>
>>> I specified in Aframe.cabal yesod-form 0.2.0. The above warning is
>>> what I was looking to avoid. What is the solution to this problem? I
>>> could not find an obvious solution in yesodwiki.cabal, even though I
>>> see it's doing something similar to what I want. How did you deal with
>>> the above warning message?
>>>
>>> On Wed, Jun 22, 2011 at 12:32 PM, Michael Snoyman <michael at snoyman.com> wrote:
>>>> Have a look at the yesodwiki[1]; basically, you can't use the yesod
>>>> package itself, only the subpackages. This is by design so that a
>>>> single Yesod release will keep API stability, while users can still
>>>> experiment with newer versions of underlying packages.
>>>>
>>>> Michael
>>>>
>>>> [1] https://github.com/snoyberg/yesodwiki/blob/master/yesodwiki.cabal
>>>>
>>>> On Wed, Jun 22, 2011 at 10:29 PM, Michael Litchard <michael at schmong.org> wrote:
>>>>> I need to use yesod-form 0.2.0. The problem is that the yesod package,
>>>>> and the yesod-auth package expect yesod-form to be 0.1.0*
>>>>> I tried changing the .cabal files but that breaks in ways that makes
>>>>> me think the fix is not so simple. How do I go about being able to use
>>>>> yesod-form 0.2.0
>>>>>
>>>>> _______________________________________________
>>>>> web-devel mailing list
>>>>> web-devel at haskell.org
>>>>> http://www.haskell.org/mailman/listinfo/web-devel
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> web-devel mailing list
>>> web-devel at haskell.org
>>> http://www.haskell.org/mailman/listinfo/web-devel
>>>
>>
>



More information about the web-devel mailing list