[Haskell-cafe] cabal-install problem with alex dependency in bytestring-lexing

Michael Snoyman michael at snoyman.com
Fri Mar 16 15:46:41 CET 2012

The Yesod docs all state very explicitly that we depend on the Haskell
Platform, and in particular that alex needs to be installed. However,
that doesn't stop this issue from confusing people.

I think a good short term solution could be what Alan Zimmerman did
with language-javascript: include the files generated by alex in the
tarball, so that there is no alex dependency for installing from
Hackage. You would only need alex for developing.

Ideally I think cabal-install should be able to handle installation of
build tools- possibly to its own private folder where it's properly


On Fri, Mar 16, 2012 at 4:37 PM, Stephen Tetley
<stephen.tetley at gmail.com> wrote:
> Alex is supplied as part of the Platform though which is the
> recommended system for beginners, is Yesod currently in advance of the
> Platform?
> On 16 March 2012 10:56, Erik de Castro Lopo <mle+hs at mega-nerd.com> wrote:
>> The problem is that many of the people trying out Yesod are newcomers to
>> Haskell. They are going to try  "cabal install yesod" and have it fail
>> because alex is missing. This is not a good introduction Haskell/Yesod.
> _______________________________________________
> 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