vabal

the cabal companion

https://github.com/vabal/vabal

Latest on Hackage:2.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL-3.0-only licensed by Francesco Magliocca
Maintained by [email protected]

vabal finds a version of GHC that is compatible with the constraints imposed on base package found in the cabal file analyzed. It then uses ghcup to obtain the correct version of the compiler (potentially downloading it). It supports three modes:

  • vabal configure (it configures your project to use the obtained ghc),

  • vabal (it prints to stdout options to give to cabal to use the obtained ghc. Options are escaped so that they can sent to the xargs POSIX utility).

  • vabal show (it works like vabal but prints the version of the obtained ghc to stdout instead of options to pass to cabal).

See the README for more detailed informations.