packages feed

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

import Test.Cabal.Prelude
main = setupAndCabalTest $ do
    skipUnless =<< ghcVersionIs (>= mkVersion [8,1])
    withPackageDb $ do
      setup_install []
      _ <- runM "touch" ["repo/indef-0.1.0.0/Foo.hs"]
      setup "build" []
      runExe' "exe" [] >>= assertOutputContains "fromList [(0,2),(2,4)]"