Latest yesod/mime-mail combination is broken?

Hi all, Is that latest Yesod + mime-mail broken or am I doing something stupid? I can install everything just fine but when I do
yesod init Project Name: test Foundation: Test cd test cabal configure
I get Resolving dependencies... Configuring test-0.0.0... cabal: At least the following dependencies are missing: mime-mail >=0.3.0.3 && <0.4 However
pacman -Ss haskell-mime-mail haskell/haskell-mime-mail 0.3.0-3 [installed] Compose MIME email messages.
Note the '-' in the third place where there was a '.' in the third place on the 'cabal configure' command. If I 'cabal install' mime-mail this only results in more confusion and breakage for cabal, as you might expect.
cabal install 'mime-mail <0.4' Resolving dependencies... (... Snip ...) Registering mime-mail-0.3.0.3...
cabal configure Resolving dependencies... Configuring personal-website-0.0.0... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package mime-mail-0.3.0 requires dataenc-0.13.0.4 package mime-mail-0.3.0.3 requires dataenc-0.14.0.3 package yesod-auth-0.7.5 requires mime-mail-0.3.0 package personal-website-0.0.0 requires mime-mail-0.3.0.3
It seems I can't use the current version of yesod that's in the Arch Haskell repositories because of this. Any suggestions? Thanks, Andrew

On Tue, Dec 27, 2011 at 06:00:57PM -0500, Andrew Myers wrote:
Hi all, Is that latest Yesod + mime-mail broken or am I doing something stupid? I can install everything just fine but when I do
yesod init Project Name: test Foundation: Test cd test cabal configure
I get Resolving dependencies... Configuring test-0.0.0... cabal: At least the following dependencies are missing: mime-mail >=0.3.0.3 && <0.4
The steps above will first create a new yesod project, with a auto-generated Cabal file. This Cabal file states a dependency on mime-mail [0.3.0.3,0.4), don't ask me why though. I'd start with changing that dependency to see if anything breaks. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. -- Alan Kay
participants (2)
-
Andrew Myers
-
Magnus Therning