Commit 8accd9c7 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

When marking failed reverse deps, don't include the package itself

Otherwise we end up saying packages failed because they depend
on themselves which failed to install, which is silly.
parent 0d70a875
......@@ -242,6 +242,7 @@ failed pkgid buildResult buildResult' plan = assert (invariant plan') plan'
packagesThatDependOn :: InstallPlan a
-> PackageIdentifier -> [PackageIdentifier]
packagesThatDependOn plan = map (planPkgIdOf plan)
. tail
. Graph.reachable (planGraphRev plan)
. planVertexOf plan
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment