This is what happens when I run cabal install pretty-show on Mac OS 10.7.5 under Haskell Platform 2012.4.0.0:
Downloading pretty-show-1.3...
Configuring pretty-show-1.3...
Building pretty-show-1.3...
Preprocessing library pretty-show-1.3...
Text/Show/PrettyVal.hs:11:8:
Could not find module `GHC.Generics'
It is a member of the hidden package `ghc-prim'.
Perhaps you need to add `ghc-prim' to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
Failed to install pretty-show-1.3
Updating documentation index /Users/tombrow/Library/Haskell/doc/index.html
cabal: Error: some packages failed to install:
pretty-show-1.3 failed during the building phase. The exception was:
ExitFailure 1
This is what happens when I run
cabal install pretty-show
on Mac OS 10.7.5 under Haskell Platform 2012.4.0.0:(Some unrelated dependency installs omitted.)