1 import Test
.Cabal
.Prelude
2 -- NB: The --dependency flag is not supported by cabal-install
5 base_id
<- getIPID
"base"
6 setup_install
["sublib", "--cid", "sublib-0.1-abc"]
7 setup_install
[ "exe", "--exact-configuration"
8 , "--dependency", "Lib:sublib=sublib-0.1-abc"
9 , "--dependency", "base=" ++ base_id
]
10 runExe
' "exe" [] >>= assertOutputContains
"OK"