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... Downloading mysql-0.1.7 Downloaded mysql-0.1.7 Starting mysql-0.1.7 Failed to install mysql-0.1.7 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/mysql-0.1.7-2akJKk9UoN98FN0HKbIl2c.log ): cabal: Entering directory '/tmp/cabal-tmp-5857/mysql-0.1.7' [1 of 1] Compiling Main ( /tmp/cabal-tmp-5857/mysql-0.1.7/dist/setup/setup.hs, /tmp/cabal-tmp-5857/mysql-0.1.7/dist/setup/Main.o ) Linking /tmp/cabal-tmp-5857/mysql-0.1.7/dist/setup/setup ... Configuring mysql-0.1.7... setup: The program 'mysql_config' is required but it could not be found cabal: Leaving directory '/tmp/cabal-tmp-5857/mysql-0.1.7' cabal: Error: some packages failed to install: mysql-0.1.7-2akJKk9UoN98FN0HKbIl2c failed during the configure step. The exception was: ExitFailure 1