[Haskell-cafe] [Yesod] Re: Yesod and dependencies hell

Chris Dornan chris at chrisdornan.com
Thu Feb 9 12:39:03 CET 2012

As somebody who has very recently started working with Yesod -- I feel your pain!

In truth Yesod is a huge bundle of packages, many of which aren't managed by the Yesod developers. I get the impression that they work very hard to keep everything coherent while Yesod continues its very active development. I think it is quite a miracle that it fits together so well under the circumstances and I am quite in awe of the whole development.

You seem to have been unlucky (3 days!) but I have found it to be worth it -- you eventually get an amazing platform.

(I do think that we could be delivering the tools with a little more packaging that could significantly help with these situations. I have found them to be highly useful in any case.)


-----Original Message-----
From: yesodweb at googlegroups.com [mailto:yesodweb at googlegroups.com] On Behalf Of Michael Snoyman
Sent: 09 February 2012 06:44
To: Никита Тимофеев
Cc: haskell-cafe at haskell.org; yesodweb at googlegroups.com
Subject: [Yesod] Re: [Haskell-cafe] Yesod and dependencies hell

Are you talking about starting a new site, or running an existing site? For a new site, it's probably a good idea to wait until 0.10 comes out, as it includes a lot of nice enhancements, and we'll be releasing it this week. If an existing site, you probably need to have more strict upper bounds on your package dependencies. Without seeing your cabal file, I can't really comment further.

It also might be a good idea to move this discussion to the Yesod mailing list (CCed).

On Wed, Feb 8, 2012 at 5:09 PM, Никита Тимофеев <ndtimofeev at gmail.com> wrote:
> For three days I can't compile dependencies for my project using 
> yesod, yesod-auth, yesod-persistent, persistent-template, 
> persistent-sqlite, persistent. When I varied version I received a 
> variety of broken dependencies: persistent (0.6.* vs 0.7.*), conduit
> (0.1.* vs 0.2.*), conduit-pool, path-pieces, attoparsec and something 
> else. In this regard, I have a few questions. How to build these 
> packages together? And, Michael, why so bad?
> --
> Тимофеев Н.Д.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list