3 # Build cabal with solver debug flags enabled.
5 # We use a sandbox, because cabal-install-1.24.0.0's new-build command tries to
6 # build tracetree's dependencies with the inplace Cabal, which leads to compile
7 # errors. We also need to skip the tests, because debug-tracetree prints the
8 # whole solver tree as JSON.
13 cabal sandbox add-source ..
/Cabal
14 cabal
install --dependencies-only --constraint "cabal-install +debug-tracetree +debug-conflict-sets"
15 cabal configure
--ghc-option=-Werror --constraint "cabal-install +debug-tracetree +debug-conflict-sets"