hackport-0.8.0.0: cabal/cabal-testsuite/PackageTests/CustomDep/cabal.test.hs
import Test.Cabal.Prelude
main = cabalTest $ do
-- NB: This variant seems to use the bootstrapped Cabal?
skipUnless "no Cabal for GHC" =<< hasCabalForGhc
-- implicit setup-depends conflict with GHC >= 8.2; c.f. #415
skipUnlessGhcVersion "< 8.2"
-- This test depends heavily on what packages are in the global
-- database, don't record the output
recordMode DoNotRecord $ do
-- TODO: Hack, delete me
withEnvFilter (`notElem` ["HOME", "CABAL_DIR"]) $ do
cabal "v2-build" ["all"]