haskell / alex

A lexical analyser generator for Haskell
https://hackage.haskell.org/package/alex
BSD 3-Clause "New" or "Revised" License
298 stars 82 forks source link

Make build more robust on systems lacking Happy or Alex #44

Closed kini closed 9 years ago

kini commented 10 years ago

Same thing as simonmar/happy#23, but for Alex, basically.

kini commented 10 years ago

Looking into the Travis build failure, I see that getProgramSearchPath didn't exist until https://github.com/haskell/cabal/commit/84c4ddce652cd8f60c57c940abfbe927bb03654f. However, that commit appears to be an ancestor of both Cabal 1.18.0 and cabal-install 1.18.0. The Travis build says it's using Cabal 1.18.1 and cabal-install 1.18.0.2, so what's going on here...?

simonmar commented 9 years ago

I think we concluded this wasn't the right way to approach the problem. Feel free to re-open if you disagree.

kini commented 9 years ago

No, you're right. This needs to be handled by cabal somehow.