Commit aa0d8403 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Disable cabal-install test in ConfiguredComponent/Sublib/setup.test.hs



cabal-install depsolver doesn't know how to pick up preinstalled
internal components on a per-component build.  Moral of the story:
don't use cabal-install here; call Setup directly.

Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 4a0c940b
import Test.Cabal.Prelude
main = setupAndCabalTest $ do
-- NB: This currently doesn't work with cabal-install, as the depsolver
-- doesn't know to compute a dependency for sublib in exe, resulting in
-- Setup not being called with enough dependencies. Shout if this is
-- a problem for you; the advised workaround is to use Setup directly
-- if you need per-component builds.
main = setupTest $ do
withPackageDb $ do
setup_install ["sublib"]
setup_install ["exe"]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment