~: cabal install distributive
Resolving dependencies...
[1 of 1] Compiling Main ( /tmp/distributive-0.4.3-10160/distributive-0.4.3/Setup.lhs, /tmp/distributive-0.4.3-10160/distributive-0.4.3/dist/setup/Main.o )
Linking /tmp/distributive-0.4.3-10160/distributive-0.4.3/dist/setup/setup ...
Configuring distributive-0.4.3...
Building distributive-0.4.3...
Preprocessing library distributive-0.4.3...
src/Data/Distributive/Generic.hs:20: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 distributive-0.4.3
cabal: Error: some packages failed to install:
distributive-0.4.3 failed during the building phase. The exception was:
ExitFailure 1
Here is the error:
Please let me know if you need more information.