creswick/cabal-dev

cabal-dev ghci buildArgs are unpredictable

Closed this issue · 2 comments

In cabal project with multiple build products (say, an executable, a library and a test suite), the set of arguments passed to GHCi when invoking cabal-dev ghci are somewhat unpredictably chosen.

AFAICT cabal-dev will choose the first set output by cabal-dev buildopts, but this order depends on in what order cabal decides to build the project.

As a bonus, it would be great if the set of buildopts to use were selectable via some option when invoking ghci with cabal-dev.

Does #70 close this issue?

Yes