packages feed

hackport-0.6.5: cabal/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-repo.test.hs

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