plan.json includes internal libraries which aren't built. #6407
Labels
cabal-install: cmd/install
cabal-install: solver
re: install --lib
Concerning `cabal install --lib`
re: internal library
Concerning internal libraries in packages
type: bug
Describe the bug
plan.json
includes also internal libraries which aren't always built.To Reproduce
In
~/.ghc/.../environments/default
I getone of which is
overloaded
library, and the second isoverloaded:optics-hasfield
which is not what I asked for.Similarly if I depend on
overloaded
in a package, theoverloaded:optics-hasfield
will pop intoplan.json
, evencabal v2-build
doesn't build it.Expected behavior
cabal should be more precise.
The text was updated successfully, but these errors were encountered: