[Haskell-cafe] Building MissingH on Windows

Thomas Schilling nominolo at googlemail.com
Mon Nov 26 15:42:20 EST 2007


On Mon, 2007-11-26 at 21:24 +0100, nionita at lycos.de wrote:
> 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

Try replacing the original files with the attached files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MissingH.cabal
Type: text/x-vhdl
Size: 2135 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071126/ccfa709c/MissingH.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Setup.hs
Type: text/x-haskell
Size: 104 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071126/ccfa709c/Setup.bin


More information about the Haskell-Cafe mailing list