File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ executePlan' installedMap plan ee@ExecuteEnv {..} = do
425
425
-- stack always using transformer stacks that are safe for this use case.
426
426
runInBase <- liftBaseWith $ \ run -> return (void . run)
427
427
428
- let actions = concatMap (toActions installedMap runInBase ee) $ Map. elems $ Map. mergeWithKey
428
+ let actions = concatMap (toActions installedMap' runInBase ee) $ Map. elems $ Map. mergeWithKey
429
429
(\ _ b f -> Just (Just b, Just f))
430
430
(fmap (\ b -> (Just b, Nothing )))
431
431
(fmap (\ f -> (Nothing , Just f)))
@@ -467,6 +467,12 @@ executePlan' installedMap plan ee@ExecuteEnv {..} = do
467
467
generateDepsHaddockIndex eeEnvOverride wc eeBaseConfigOpts eeLocals
468
468
generateSnapHaddockIndex eeEnvOverride wc eeBaseConfigOpts eeGlobalDB
469
469
when (toCoverage $ boptsTestOpts eeBuildOpts) generateHpcMarkupIndex
470
+ where
471
+ installedMap' = Map. difference installedMap
472
+ $ Map. fromList
473
+ $ map (\ gid -> (packageIdentifierName $ ghcPkgIdPackageIdentifier gid, () ))
474
+ $ Map. keys
475
+ $ planUnregisterLocal plan
470
476
471
477
toActions :: M env m
472
478
=> InstalledMap
You can’t perform that action at this time.
0 commit comments