Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / Backpack / Includes3 / setup-external-explicit.test.hs
blobca9fae50d2e32e83208d385c931343b9b5bc86e9
1 import Test.Cabal.Prelude
2 -- NB: cabal-install doesn't understand --dependency
3 main = setupTest $ do
4 skipUnlessGhcVersion ">= 8.1"
5 withPackageDb $ do
6 withDirectory "repo/sigs-0.1.0.0" $ setup_install_with_docs ["--cid", "sigs-0.1.0.0", "lib:sigs"]
7 withDirectory "repo/indef-0.1.0.0" $ setup_install_with_docs ["--cid", "indef-0.1.0.0", "--dependency=sigs=sigs-0.1.0.0", "lib:indef"]