Resolving dependencies... Downloading directory-tree-0.1... Configuring directory-tree-0.1... Building directory-tree-0.1... Failed to install directory-tree-0.1 Build log ( /home/builder/.cabal/logs/directory-tree-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-20856/directory-tree-0.1' Configuring directory-tree-0.1... Building directory-tree-0.1... Preprocessing library directory-tree-0.1... [1 of 1] Compiling System.Directory.Tree ( System/Directory/Tree.hs, dist/build/System/Directory/Tree.o ) System/Directory/Tree.hs:67: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. System/Directory/Tree.hs:68:1: error: Failed to load interface for ‘System.FilePath’ It is a member of the hidden package ‘filepath-1.4.1.0’. Perhaps you need to add ‘filepath’ 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-20856/directory-tree-0.1' cabal: Error: some packages failed to install: directory-tree-0.1 failed during the building phase. The exception was: ExitFailure 1