1 import Test
.Cabal
.Prelude
3 -- NB: This variant seems to use the bootstrapped Cabal?
4 skipUnless
"no Cabal for GHC" =<< hasCabalForGhc
5 -- implicit setup-depends conflict with GHC >= 8.2; c.f. #415
6 skipUnlessGhcVersion
"< 8.2"
7 -- This test depends heavily on what packages are in the global
8 -- database, don't record the output
9 recordMode DoNotRecord
$ do
10 -- TODO: Hack, delete me
11 withEnvFilter
(`
notElem`
["HOME", "CABAL_DIR"]) $ do
12 cabal
"v2-build" ["all"]