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 composition-prelude-2.0.5.0 Starting tar-0.5.1.1 Building composition-prelude-2.0.5.0 Building tar-0.5.1.1 Completed composition-prelude-2.0.5.0 Completed tar-0.5.1.1 Starting archive-tar-0.2.2.1 Failed to install archive-tar-0.2.2.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/archive-tar-0.2.2.1-Lv0eYbT0qvrGkvbW83eLJd.log ): cabal: Entering directory '/tmp/cabal-tmp-2796/archive-tar-0.2.2.1' Configuring archive-tar-0.2.2.1... cabal: The program 'cpphs' is required but it could not be found. cabal: Leaving directory '/tmp/cabal-tmp-2796/archive-tar-0.2.2.1' cabal: Error: some packages failed to install: archive-tar-0.2.2.1-Lv0eYbT0qvrGkvbW83eLJd failed during the configure step. The exception was: ExitFailure 1