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

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Fri Mar 16 23:11:15 CET 2012


On 17 March 2012 09:02, Erik de Castro Lopo <mle+hs at mega-nerd.com> wrote:
> Ivan Lazar Miljenovic wrote:
>
>> One trivial solution is to assume ~/.cabal/bin is on the PATH and to
>> ignore system-wide packages, which I think is even *more* sub-optimal
>> (why install a new version of alex when it's already available?).
>
> The tool should only install alex in ~/.cabal/bin if alex is not already
> available.

So how does it know whether the *correct version* is available?  Add
--version parsers for every single possible build-tool to
cabal-install?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list