File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
cabal-install/src/Distribution/Client Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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)]
You can’t perform that action at this time.
0 commit comments