Skip to content
Snippets Groups Projects
Commit e734ef71 authored by kristenk's avatar kristenk
Browse files

Don't filter out setup deps in D.C.ProjectPlanning.Types.elabOrderLibDependencies

Previously, elabOrderLibDependencies only returned non-setup dependencies.  That
caused a bug where local packages weren't built when they were only needed as
setup dependencies.
parent 934009b2
No related branches found
No related tags found
No related merge requests found
......@@ -411,7 +411,8 @@ elabOrderDependencies elab =
elabOrderLibDependencies :: ElaboratedConfiguredPackage -> [UnitId]
elabOrderLibDependencies elab =
case elabPkgOrComp elab of
ElabPackage _ -> map (newSimpleUnitId . confInstId) (elabLibDependencies elab)
ElabPackage pkg -> map (newSimpleUnitId . confInstId) $
ordNub $ CD.flatDeps (pkgLibDependencies pkg)
ElabComponent comp -> compOrderLibDependencies comp
-- | The library dependencies (i.e., the libraries we depend on, NOT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment