yav / pretty-show

Tools for working with derived Show instances in Haskell.
MIT License
57 stars 15 forks source link

cabal install fails (missing dependency?) #4

Closed brow closed 11 years ago

brow commented 11 years ago

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

(Some unrelated dependency installs omitted.)

brow commented 11 years ago

Never mind. A cabal update solved this issue.