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
Solver: Support dependencies on sub-libraries (issue haskell#6039).
This commit tracks dependencies on sub-libraries by extending the functionality
for tracking executables that was added in
e86f838. It also starts adding support for
library visibility, though it currently only works for source packages. There
is a TODO for handling installed packages.
Fixeshaskell#6038.
showFR _ (NewPackageIsMissingRequiredComponent comp dr) =" (does not contain "++ showExposedComponent comp ++", which is required by "++ showDependencyReason dr ++")"
112
+
showFR _ (NewPackageHasPrivateRequiredComponent comp dr) =" ("++ showExposedComponent comp ++" is private, but it is required by "++ showDependencyReason dr ++")"
111
113
showFR _ (NewPackageHasUnbuildableRequiredComponent comp dr) =" ("++ showExposedComponent comp ++" is not buildable in the current environment, but it is required by "++ showDependencyReason dr ++")"
112
114
showFR _ (PackageRequiresMissingComponent qpn comp) =" (requires "++ showExposedComponent comp ++" from "++ showQPN qpn ++", but the component does not exist)"
115
+
showFR _ (PackageRequiresPrivateComponent qpn comp) =" (requires "++ showExposedComponent comp ++" from "++ showQPN qpn ++", but the component is private)"
113
116
showFR _ (PackageRequiresUnbuildableComponent qpn comp) =" (requires "++ showExposedComponent comp ++" from "++ showQPN qpn ++", but the component is not buildable in the current environment)"
114
117
showFR _ CannotInstall=" (only already installed instances can be used)"
115
118
showFR _ CannotReinstall=" (avoiding to reinstall a package with same version but new dependencies)"
0 commit comments