Resolving dependencies... Downloading compression-0.1... [1 of 1] Compiling Main ( /tmp/compression-0.1-2491/compression-0.1/Setup.hs, /tmp/compression-0.1-2491/compression-0.1/dist/setup/Main.o ) Linking /tmp/compression-0.1-2491/compression-0.1/dist/setup/setup ... Configuring compression-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building compression-0.1... Preprocessing library compression-0.1... Codec/Compression/Deflate/Inflate.hs:25:8: Could not find module `Data.ByteString.Base' Perhaps you meant Data.ByteString.Lazy (needs flag -package bytestring-0.10.0.2) Data.ByteString.Char8 (needs flag -package bytestring-0.10.0.2) Data.ByteString.Unsafe (needs flag -package bytestring-0.10.0.2) Use -v to see a list of the files searched for. Failed to install compression-0.1 cabal: Error: some packages failed to install: compression-0.1 failed during the building phase. The exception was: ExitFailure 1