@@ -3822,10 +3822,10 @@ pruneInstallPlanPass2 pkgs =
38223822 | installedUnitId elab `Set.member` libDeps
38233823 , let c = ComponentTarget (CLibName Cabal. defaultLibName) WholeComponent
38243824 , -- Don't enable building for anything which is being built in memory,
3825- -- unless it is a (transitive) library dependency of an exe build tool,
3826- -- in which case it must be compiled to disk so the exe can link against it.
3827- elabBuildStyle elab /= BuildInplaceOnly InMemory
3828- || installedUnitId elab `Set.member` mustBuildOnDisk
3825+ -- unless it is a (transitive) library dependency of an exe build tool,
3826+ -- in which case it must be compiled to disk so the exe can link against it.
3827+ elabBuildStyle elab /= BuildInplaceOnly InMemory
3828+ || installedUnitId elab `Set.member` mustBuildOnDisk
38293829 ]
38303830 exeTargetsRequiredForRevDeps =
38313831 -- TODO: allow requesting executable with different name
@@ -3849,12 +3849,12 @@ pruneInstallPlanPass2 pkgs =
38493849 [ configuredId pkg
38503850 | InstallPlan. Configured pkg <- pkgs
38513851 , -- Exclude packages that must be built on disk (for exe build tools).
3852- -- Their dependents will receive a real -package-id, not a promise.
3853- installedUnitId pkg `Set.notMember` mustBuildOnDisk
3852+ -- Their dependents will receive a real -package-id, not a promise.
3853+ installedUnitId pkg `Set.notMember` mustBuildOnDisk
38543854 , BuildInplaceOnly InMemory <- [elabBuildStyle pkg]
38553855 ]
38563856
3857- -- | Packages that must be built on disk because they are (transitively)
3857+ -- Packages that must be built on disk because they are (transitively)
38583858 -- needed as library dependencies by an exe build-tool. Even if such a
38593859 -- package was originally marked InMemory for the multi-repl session, it
38603860 -- must also produce real on-disk artifacts so the exe can link against it.
0 commit comments