Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting Diff-0.3.4 Starting StateVar-1.1.1.1 Starting auto-update-0.1.4.1 Starting appar-0.1.7 Building Diff-0.3.4 Building appar-0.1.7 Building StateVar-1.1.1.1 Building auto-update-0.1.4.1 Completed StateVar-1.1.1.1 Starting base-compat-0.10.5 Completed appar-0.1.7 Starting base-orphans-0.8 Completed auto-update-0.1.4.1 Starting base16-bytestring-0.1.1.6 Building base-compat-0.10.5 Building base-orphans-0.8 Completed Diff-0.3.4 Starting base64-bytestring-1.0.0.2 Building base16-bytestring-0.1.1.6 Building base64-bytestring-1.0.0.2 Completed base-orphans-0.8 Starting basement-0.0.10 Completed base16-bytestring-0.1.1.6 Starting blaze-builder-0.4.1.0 Building basement-0.0.10 Building blaze-builder-0.4.1.0 Completed base64-bytestring-1.0.0.2 Starting bsb-http-chunked-0.0.0.4 Building bsb-http-chunked-0.0.0.4 Completed bsb-http-chunked-0.0.0.4 Starting byteable-0.1.1 Building byteable-0.1.1 Completed blaze-builder-0.4.1.0 Starting byteorder-1.0.4 Completed base-compat-0.10.5 Starting cabal-doctest-1.0.6 Building byteorder-1.0.4 Building cabal-doctest-1.0.6 Completed byteable-0.1.1 Starting call-stack-0.1.0 Building call-stack-0.1.0 Completed byteorder-1.0.4 Starting cereal-0.5.8.0 Building cereal-0.5.8.0 Completed call-stack-0.1.0 Starting clock-0.7.2 Completed cabal-doctest-1.0.6 Starting cmdargs-0.10.20 Building clock-0.7.2 Building cmdargs-0.10.20 Completed clock-0.7.2 Starting colour-2.3.4 Building colour-2.3.4 Completed cereal-0.5.8.0 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed colour-2.3.4 Starting dotgen-0.4.2 Building dotgen-0.4.2 Completed dlist-0.8.0.5 Starting easy-file-0.2.2 Completed dotgen-0.4.2 Starting ed25519-0.0.5.0 Building easy-file-0.2.2 Building ed25519-0.0.5.0 Completed easy-file-0.2.2 Starting entropy-0.4.1.4 Completed ed25519-0.0.5.0 Starting erf-2.0.0.0 Building erf-2.0.0.0 Building entropy-0.4.1.4 Completed erf-2.0.0.0 Starting file-embed-0.0.11 Building file-embed-0.0.11 Completed entropy-0.4.1.4 Starting half-0.3 Completed cmdargs-0.10.20 Starting hashable-1.2.7.0 Building half-0.3 Building hashable-1.2.7.0 Completed file-embed-0.0.11 Starting haskell-src-exts-1.21.0 Building haskell-src-exts-1.21.0 Completed half-0.3 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed hashable-1.2.7.0 Starting hspec-discover-2.7.0 Building hspec-discover-2.7.0 Completed hspec-discover-2.7.0 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting lens-family-core-1.2.3 Building lens-family-core-1.2.3 Completed hourglass-0.2.12 Starting lzma-0.0.0.3 Completed basement-0.0.10 Starting mime-types-0.1.0.9 Failed to install lzma-0.0.0.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/lzma-0.0.0.3-DxDSAdutXxX4qHbGPLhqtk.log ): cabal: Entering directory '/tmp/cabal-tmp-22584/lzma-0.0.0.3' Configuring lzma-0.0.0.3... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: lzma.h * Missing (or bad) C library: lzma 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. If the header 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-22584/lzma-0.0.0.3' Starting monad-time-0.3.1.0 Building mime-types-0.1.0.9 Building monad-time-0.3.1.0 Completed monad-time-0.3.1.0 Completed lens-family-core-1.2.3 Completed mime-types-0.1.0.9 Completed haskell-src-exts-1.21.0 cabal: Error: some packages failed to install: cachix-0.2.0-DOJuScKgpTH2Wj2Tt3FnBL depends on cachix-0.2.0 which failed to install. lzma-0.0.0.3-DxDSAdutXxX4qHbGPLhqtk failed during the configure step. The exception was: ExitFailure 1 lzma-conduit-1.2.1-LIKB2TgWMxP5Q4apgPwGPr depends on lzma-conduit-1.2.1 which failed to install.