Stop! Tickets are now managed at GitHub.
Please enter new tickets, and find and edit existing tickets there:
Ticket #212 (closed defect: fixed)
HP Windows installer should add mingw/bin to PATH
|Reported by:||nurpax||Owned by:||refold|
As far as I understood, the HP installer adds GHC and other Haskell tools to PATH, like so:
$ which ghc /c/Program Files (x86)/Haskell Platform/2012.2.0.0/bin/ghc
However, it seems that the embedded mingw installation is not added to PATH. This directory is under
/c/Program Files (x86)/Haskell Platform/2012.2.0.0/mingw/bin
This by default causes installation of any package that have .c files in them to fail. Examples of such packages are at least network and direct-sqlite.
I didn't realize that mingw is included in HP so I was just assuming HP doesn't come with a C compiler at all. Thus I've been working around this by doing tricks like in https://gist.github.com/3907344#comments
I think it'd make sense for the installer to stick the mingw\bin directory to PATH just as it seems to do for ghc.