Resolving dependencies... Downloading graph-rewriting-0.7.8... Configuring graph-rewriting-0.7.8... Building graph-rewriting-0.7.8... Preprocessing library graph-rewriting-0.7.8... GraphRewriting/Graph.hs:7:8: Could not find module ‘Control.Monad.State’ There are files missing in the ‘mtl-2.2.1@mtl_Aue4leSeVkpKLsfHIV51E8’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. GraphRewriting/Graph/Read.hs:10:8: Could not find module ‘Prelude.Unicode’ There are files missing in the ‘base-unicode-symbols-0.2.2.4@baseu_HARyL3klEFABQ7g2MPHMdz’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. GraphRewriting/Graph/Read.hs:13:8: Could not find module ‘Control.Monad.Reader’ There are files missing in the ‘mtl-2.2.1@mtl_Aue4leSeVkpKLsfHIV51E8’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. GraphRewriting/Pattern.hs:9:8: Could not find module ‘Control.Monad.List’ There are files missing in the ‘mtl-2.2.1@mtl_Aue4leSeVkpKLsfHIV51E8’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. GraphRewriting/Pattern.hs:10:8: Could not find module ‘Control.Monad.Identity’ There are files missing in the ‘mtl-2.2.1@mtl_Aue4leSeVkpKLsfHIV51E8’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install graph-rewriting-0.7.8 cabal: Error: some packages failed to install: graph-rewriting-0.7.8 failed during the building phase. The exception was: ExitFailure 1