HP 2013.2 and GHC 7.6.2
ian at well-typed.com
Wed Apr 17 17:46:43 CEST 2013
On Wed, Apr 17, 2013 at 05:37:37PM +0200, Gabor Greif wrote:
> On 4/17/13, Iavor Diatchki <iavor.diatchki at gmail.com> wrote:
> > Hello,
> > cabal-install 1.16.0 and 188.8.131.52 have some serious bugs that one
> > encounters rather quickly. For example, at work I wasted some time until I
> > figured out that cabal was generating a 'Paths_' module that does not
> > compile. Because of this, you can't even use it to install a newer
> > version of itself, where the problem is fixed: you have to manually
> > bootstrap the new version with the script!
> I came up with this.
> Pretty much what you have experienced.
This doesn't appear to affect the Cabal that GHC 7.6.2 ships with. I get
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
catchIO = Exception.catch
getBinDir = catchIO (getEnv "HTTP_bindir") (\_ -> return bindir)
More information about the Libraries