Resolving dependencies... Configuring basement-0.0.7... Configuring byteable-0.1.1... Building basement-0.0.7... Building byteable-0.1.1... Installed byteable-0.1.1 Configuring transformers-compat-0.6.2... Building transformers-compat-0.6.2... Installed transformers-compat-0.6.2 Configuring tagged-0.8.5... Building tagged-0.8.5... Installed tagged-0.8.5 Installed basement-0.0.7 Configuring foundation-0.0.20... Building foundation-0.0.20... Installed foundation-0.0.20 Configuring memory-0.14.16... Building memory-0.14.16... Installed memory-0.14.16 Configuring securemem-0.1.10... Building securemem-0.1.10... Installed securemem-0.1.10 Configuring crypto-cipher-types-0.0.9... Building crypto-cipher-types-0.0.9... Installed crypto-cipher-types-0.0.9 Configuring nettle-0.2.1... Failed to install nettle-0.2.1 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/nettle-0.2.1-1ggiJYNbuM9HjQgeoK7e2a.log ): cabal: Entering directory '/tmp/cabal-tmp-14872/nettle-0.2.1' Configuring nettle-0.2.1... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: nettle This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-14872/nettle-0.2.1' cabal: Error: some packages failed to install: nettle-0.2.1-1ggiJYNbuM9HjQgeoK7e2a failed during the configure step. The exception was: ExitFailure 1