*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg list Dependency Cabal>=1.2: using Cabal-1.6.0.1 Creating dist/setup (and its parents) /usr/local/bin/ghc -package Cabal-1.6.0.1 --make Setup.hs -o dist/setup/setup -odir dist/setup -hidir dist/setup [1 of 1] Compiling Main ( Setup.hs, dist/setup/Main.o ) Setup.hs:49:27: Couldn't match expected type `[Char]' against inferred type `PackageName' In the first argument of `(++)', namely `name' In the second argument of `(++)', namely `name ++ " " ++ showVersion ver ++ "\""' In the second argument of `($)', namely `"-- GENERATED FILE -- DO NOT EDIT\nmodule Version where\npackageVersion = \"" ++ name ++ " " ++ showVersion ver ++ "\""'