*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user Dependency Cabal >=1.2: using Cabal-1.6.0.3 Creating setup (and its parents) /usr/local/bin/ghc -package Cabal-1.6.0.3 --make Setup.hs -o setup/setup -odir setup -hidir setup [1 of 1] Compiling Main ( Setup.hs, setup/Main.o ) Setup.hs:32:45: Couldn't match expected type `CopyDest' against inferred type `Distribution.Simple.Setup.Flag CopyDest' In the first argument of `compile_forsyde_vhd', namely `(copyDest cf)' In the expression: compile_forsyde_vhd (copyDest cf) In the definition of `forsydePostCopy': forsydePostCopy _ cf = compile_forsyde_vhd (copyDest cf) *** Trying again with preferred-versions *** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user Dependency Cabal >=1.2: using Cabal-1.6.0.3 Creating setup (and its parents) /usr/local/bin/ghc -package Cabal-1.6.0.3 --make Setup.hs -o setup/setup -odir setup -hidir setup [1 of 1] Compiling Main ( Setup.hs, setup/Main.o ) Setup.hs:32:45: Couldn't match expected type `CopyDest' against inferred type `Distribution.Simple.Setup.Flag CopyDest' In the first argument of `compile_forsyde_vhd', namely `(copyDest cf)' In the expression: compile_forsyde_vhd (copyDest cf) In the definition of `forsydePostCopy': forsydePostCopy _ cf = compile_forsyde_vhd (copyDest cf)