Skip to content

Commit 60ca093

Browse files
committed
Only need to look up internal exes in exe_map
This map, I am told, only contains component ids for the current package, so there is no point of looking for other package's exe components in there. Sent to travis to confirm hypothesis, but amended commit to elabote this message.
1 parent 7502659 commit 60ca093

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cabal-install/Distribution/Client/ProjectPlanning.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,10 +1275,9 @@ elaborateInstallPlan verbosity platform compiler compilerprogdb pkgConfigDB
12751275
(concatMap (elaborateExeSolverId mapDep) external_exe_dep_sids) ++
12761276
cc_internal_build_tools cc
12771277
compExeDependencyPaths =
1278-
concatMap (elaborateExePath mapDep)
1279-
external_exe_dep_sids ++
1278+
concatMap (elaborateExePath mapDep) external_exe_dep_sids ++
12801279
[ path
1281-
| cid' <- compExeDependencies
1280+
| cid' <- cc_internal_build_tools cc
12821281
, Just path <- [Map.lookup cid' exe_map]]
12831282

12841283
bi = Cabal.componentBuildInfo comp

0 commit comments

Comments
 (0)