Skip to content

Commit 5d6bf77

Browse files
committed
Solve one of the failing integration tests from #4142
1 parent bcbfb1e commit 5d6bf77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stack/Build/ConstructPlan.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ addPackageDeps treatAsDep package = do
704704
-- make sure we consider internal libraries as libraries too
705705
packageHasLibrary :: Package -> Bool
706706
packageHasLibrary p =
707-
Set.null (packageInternalLibraries p) ||
707+
not (Set.null (packageInternalLibraries p)) ||
708708
case packageLibraries p of
709709
HasLibraries _ -> True
710710
NoLibraries -> False

0 commit comments

Comments
 (0)