Resolving dependencies... Downloading hinstaller-2007.4.21... Configuring hinstaller-2007.4.21... Building hinstaller-2007.4.21... Failed to install hinstaller-2007.4.21 Build log ( /home/builder/.cabal/logs/hinstaller-2007.4.21.log ): cabal: Entering directory '/tmp/cabal-tmp-2851/hinstaller-2007.4.21' [1 of 1] Compiling Main ( /tmp/cabal-tmp-2851/hinstaller-2007.4.21/dist/setup/setup.hs, /tmp/cabal-tmp-2851/hinstaller-2007.4.21/dist/setup/Main.o ) Linking /tmp/cabal-tmp-2851/hinstaller-2007.4.21/dist/setup/setup ... Configuring hinstaller-2007.4.21... 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.21... Preprocessing library hinstaller-2007.4.21... [1 of 2] Compiling System.Installer.TH ( src/System/Installer/TH.hs, dist/build/System/Installer/TH.o ) src/System/Installer/TH.hs:30:1: error: Failed to load interface for ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.6.2’. 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. cabal: Leaving directory '/tmp/cabal-tmp-2851/hinstaller-2007.4.21' cabal: Error: some packages failed to install: hinstaller-2007.4.21 failed during the building phase. The exception was: ExitFailure 1