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
Different executable components using the same build plan #3732
And run cabal new-build exe:component-a. Then I get this message:
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: test-components-0.0.1 (user goal)
next goal: base (dependency of test-components-0.0.1)
rejecting: base-4.8.2.0/installed-0d6... (conflict: test-components =>
base==42.*)
rejecting: ...
Is this expected behaviour? I'd expect that build-plans for components are seperate. When I remove component-b and keep component-c with the same incorrect dependency I get no error (test-suite have a different status?).
The actual problem I ran into was two components that required different versions of a certain dependency and therefore dependencies could not be resolved.
Activity
ezyang commentedon Aug 29, 2016
I think this is this bug #1575? We're so close to fixing it, but it requires some extra changes to the solver :/
basetunnel commentedon Aug 29, 2016
Ok, awesome, I missed that.
ezyang commentedon Sep 11, 2016
#1575 took a different direction so I'm reopening this.
ezyang commentedon Sep 11, 2016
CC @hvr