Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-767/hinstaller-2007.4.24/dist/setup/setup.hs, /tmp/cabal-tmp-767/hinstaller-2007.4.24/dist/setup/Main.o ) Linking /tmp/cabal-tmp-767/hinstaller-2007.4.24/dist/setup/setup ... Configuring hinstaller-2007.4.24... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building hinstaller-2007.4.24... Preprocessing library hinstaller-2007.4.24... src/System/Installer/Foreign.hs:11:8: Could not find module ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.2.0@direc_KowvXytSqazBcvN7MGpFtg’. Perhaps you need to add ‘directory’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/System/Installer/Foreign.hs:14:8: Could not find module ‘System.Process’ It is a member of the hidden package ‘process-1.2.3.0@proce_FLTz0SLwyG6LJUpZ52HjkU’. Perhaps you need to add ‘process’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/System/Installer/Foreign.hs:18:18: Could not find module ‘Data.ByteString’ It is a member of the hidden package ‘bytestring-0.10.6.0@bytes_6elQVSg5cWdFrvRnfxTUrH’. Perhaps you need to add ‘bytestring’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/System/Installer/Foreign.hs:20:8: Could not find module ‘Distribution.Setup’ Perhaps you meant Distribution.GetOpt Distribution.ReadE (from Cabal-1.22.4.0@Cabal_96aI7pZyaxU3dsgngOxbdK) Distribution.System (from Cabal-1.22.4.0@Cabal_96aI7pZyaxU3dsgngOxbdK) Use -v to see a list of the files searched for. Failed to install hinstaller-2007.4.24 cabal: Error: some packages failed to install: hinstaller-2007.4.24 failed during the building phase. The exception was: ExitFailure 1