[haskell-platform] #133: Haddock is not installed properly with the windows HP 2009.2.0.2 installer

haskell-platform haskell-platform at projects.haskell.org
Thu Jul 22 16:28:06 EDT 2010

#133: Haddock is not installed properly with the windows HP 2009.2.0.2 installer
 Reporter:  creswick           |       Owner:  refold    
     Type:  defect             |      Status:  new       
 Priority:  major              |   Milestone:  2009.2.0.2
Component:  Windows installer  |    Keywords:            
 The Windows installer improperly registers the haddock library in the
 global package db.  The path specified in the db is a constant path based
 on the system that the installer was built on:


 This was resolved in later versions of the Haskell Platform, but no
 subsequent 2009 version was released with a fixed installer.  This would
 not be as much of a problem, however, the build process for haddock has
 different dependencies when the library is built from within the ghc
 source tree.  This makes it very difficult to generate a fully working
 install of the 2009 Haskell Platform on windows.  Reinstalling haddock
 installs an extra package (ghc-paths) that is not included in the Haskell
 platform.  This alters the environment and complicates the build process
 when distributing packages that need only to depend on HP 2009.

 One theoretical workaround is to manually edit the package database, but
 this is clearly error prone.

 This could be resolved relatively simply by generating a 2009.2.0.3
 maintenance release with the proper relative path.

Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/133>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries

More information about the Haskell-platform mailing list