Resolving dependencies... Configuring Monocle-0.0.1... Building Monocle-0.0.1... Preprocessing library Monocle-0.0.1... Monocle/Core.hs:4:8: Could not find module ‘Control.Monad.State’ Perhaps you meant Control.Monad.ST (from base-4.8.1.0) Control.Monad.ST.Safe (from base-4.8.1.0) Control.Monad.Fix (from base-4.8.1.0) Use -v to see a list of the files searched for. Monocle/Core.hs:5:18: Could not find module ‘Data.Map’ It is a member of the hidden package ‘containers-0.5.6.2@conta_LKCPrTJwOTOLk4OU37YmeN’. Perhaps you need to add ‘containers’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Monocle/Tex.hs:7:8: Could not find module ‘IO’ Perhaps you meant Id (needs flag -package-key ghc-7.10.2) Use -v to see a list of the files searched for. Failed to install Monocle-0.0.1 cabal: Error: some packages failed to install: Monocle-0.0.1 failed during the building phase. The exception was: ExitFailure 1