Resolving dependencies... Downloading directory-tree-0.1... Configuring directory-tree-0.1... Building directory-tree-0.1... Preprocessing library directory-tree-0.1... System/Directory/Tree.hs:68:8: Could not find module `System.FilePath' It is a member of the hidden package `filepath-1.3.0.1'. 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. Failed to install 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