Resolving dependencies... Configuring HandlerSocketClient-0.0.1... Building HandlerSocketClient-0.0.1... Failed to install HandlerSocketClient-0.0.1 Build log ( /home/builder/.cabal/logs/HandlerSocketClient-0.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-18039/HandlerSocketClient-0.0.1' Configuring HandlerSocketClient-0.0.1... Building HandlerSocketClient-0.0.1... Preprocessing library HandlerSocketClient-0.0.1... [1 of 1] Compiling Database.HandlerSocket.HSClient ( Database/HandlerSocket/HSClient.hs, dist/build/Database/HandlerSocket/HSClient.o ) Database/HandlerSocket/HSClient.hs:33:1: error: Failed to load interface for ‘Network.Socket’ Use -v to see a list of the files searched for. Database/HandlerSocket/HSClient.hs:34:1: error: Failed to load interface for ‘Network.Socket.ByteString’ Use -v to see a list of the files searched for. Database/HandlerSocket/HSClient.hs:36:1: error: Failed to load interface for ‘Data.ByteString’ It is a member of the hidden package ‘bytestring-0.10.8.1’. 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. cabal: Leaving directory '/tmp/cabal-tmp-18039/HandlerSocketClient-0.0.1' cabal: Error: some packages failed to install: HandlerSocketClient-0.0.1 failed during the building phase. The exception was: ExitFailure 1