[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#669156: Illegal bang-pattern (use -XBangPatterns)



Erik de Castro Lopo wrote:
> That brings us to the language-javascript problem. Firstly, we should
> really ask upstream to ship the Lexer.x file from which the Lexer.hs
> file is generated. However the reason they reason they ship the haskell
> source rather than the lexer source is so that its possible to install
> language-javascript using "cabal install". Cabal has one rather severe

They could at least ship both and not build the .hs by default.

> limitation, it cannot reliably install build tools like alex. Firstly
> there is no way to specify a dependency on a build tool, secondly
> cabal install will install it by default in $HOME/.cabal/bin/ and if
> that is not on the user's PATH, language-javascript will not compile.

FWIW, there are ways to use Distribution.Simple to get at the binDir,
which could, at least in theory, be used to find and run programs
installed to it.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: