Resolving dependencies... Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring sqlcipher-1.0.1.1... Failed to install sqlcipher-1.0.1.1 Build log ( /home/builder/.cabal/logs/sqlcipher-1.0.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-8521/sqlcipher-1.0.1.1' cabal: Leaving directory '/tmp/cabal-tmp-8521/sqlcipher-1.0.1.1' cabal: Error: some packages failed to install: sqlcipher-1.0.1.1 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-8521/sqlcipher-1.0.1.1/dist/setup/setup.hs:7: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. )