You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plan.json includes internal libraries which aren't built. #6407
Note: including internal package into environment exposes it modules. So this might cause unfortunate surprises!
~ % cabal v2-install --lib overloaded
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
- overloaded-0.1.3 (lib:optics-hasfield) (requires build)
Starting overloaded-0.1.3 (lib:optics-hasfield)
Building overloaded-0.1.3 (lib:optics-hasfield)
Installing overloaded-0.1.3 (lib:optics-hasfield)
Completed overloaded-0.1.3 (lib:optics-hasfield)
~ % ghci
GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
Loaded package environment from /home/phadej/.ghc/x86_64-linux-8.6.5/environments/default
Prelude> :m +Optics.HasField
Prelude Optics.HasField>
Optics.HasField is a module of internal overloaded:optics-hasfield library. The above should not work.
The unnecessary internal libraries in plan.json are probably caused by the dependency solver always solving for all components. #5413 and #5136 are also related.
Activity
phadej commentedon Dec 8, 2019
Note: including internal package into environment exposes it modules. So this might cause unfortunate surprises!
Optics.HasFieldis a module of internaloverloaded:optics-hasfieldlibrary. The above should not work.sebright commentedon Dec 11, 2019
The unnecessary internal libraries in plan.json are probably caused by the dependency solver always solving for all components. #5413 and #5136 are also related.