Skip to content

Commit cedeba0

Browse files
committed
fixups
1 parent 565e1a7 commit cedeba0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cabal-install/src/Distribution/Client/ProjectPlanning.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2335,8 +2335,10 @@ elaborateInstallPlan
23352335
| shouldBuildInplaceOnly pkg = inplacePackageDbs stage
23362336
| otherwise = corePackageDbs stage
23372337

2338+
inplacePackageDb stage = SpecificPackageDB (distDirectory </> "packagedb" </> prettyShow stage </> prettyShow (compilerId (getStage compilers stage)))
2339+
23382340
-- Same as corePackageDbs but with the addition of the in-place packagedb.
2339-
inplacePackageDbs stage = corePackageDbs stage ++ [SpecificPackageDB (distDirectory </> "packagedb" </> prettyShow stage </> prettyShow (compilerId (getStage compilers stage)))]
2341+
inplacePackageDbs stage = corePackageDbs stage ++ [inplacePackageDb stage]
23402342

23412343
-- The project packagedbs (typically the global packagedb but others can be added) followed by the store.
23422344
corePackageDbs stage = getStage packageDbs stage ++ [storePackageDB storeDirLayout (getStage compilers stage)]

0 commit comments

Comments
 (0)