[Haskell-cafe] Building MissingH on Windows

nionita at lycos.de nionita at lycos.de
Mon Nov 26 15:24:31 EST 2007


Hi,

I'm trying to build MissingH (0.18.6) on Windows, but it looks like
(probably because of changes in Cabal) the Setup.hs is broken. Im using GHC
6.8.1. Following message:

$ runhaskell Setup.hs configure

Setup.hs:19:35:
    Couldn't match expected type `(Either
                                     GenericPackageDescription
PackageDescription,
                                   HookedBuildInfo)'
           against inferred type `PackageDescription'
    In the first argument of `(confHook defaultUserHooks)', namely
        `mydescrip'
    In the expression:
        let
          mydescrip = case os of
                        "mingw32" -> ...
                        _ -> ...
        in (confHook defaultUserHooks) mydescrip flags
    In the definition of `customConfHook':
        customConfHook descrip flags
                         = let mydescrip = ...
                           in (confHook defaultUserHooks) mydescrip flags

I'm new to Cabal and I couldn't see a fast way to fix it.

Thanks,
Nicu



More information about the Haskell-Cafe mailing list