At long last: 2014.2.0.0 Release Candidate 1

Sven Panne svenpanne at gmail.com
Thu Jul 24 11:48:21 UTC 2014


2014-07-24 13:22 GMT+02:00 Sven Panne <svenpanne at gmail.com>:
>  How can I change the prefix? The README doesn't describe this AFAICT.

Hmmm, it looks like the install paths are hardwired in
hptool/src/OS/Internal.hs. Do I see this correctly? If yes, that's a
bit unfortunate, an additional parameter to platform.sh or an
environment variable would be nice. Furthermore, the executables are
scattered around:

   build/target/usr/local/haskell-platform/2014.2.0.0/lib/alex-3.1.3/bin/alex
   build/target/usr/local/haskell-platform/2014.2.0.0/lib/cabal-install-1.18.0.5/bin/cabal
   build/target/usr/local/haskell-platform/2014.2.0.0/lib/happy-1.19.4/bin/happy
   build/target/usr/local/haskell-platform/2014.2.0.0/lib/hscolour-1.20.3/bin/HsColour

Even if one copies this to /usr/local, extending the PATH would be
tiresome. Is this intended or is a common bin directory below
usr/local/haskell-platform/2014.2.0.0 missing? The whole layout below
build/target is somehow un-Linux-esque (it's basically structured the
Windows way): Normal packages put their binaries below /usr/bin, their
libs below /usr/lib, their docs below /usr/share/doc etc. How are
other packagers on this list handling this?


More information about the ghc-devs mailing list