Skip to content

Commit 086ccc2

Browse files
committed
refactor(cabal-install): remove workaround for build tools listed as build dependencies
1 parent db76bd1 commit 086ccc2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,15 +1977,10 @@ elaborateInstallPlan
19771977
external_exe_dep_sids = CD.select (== compSolverName) exe_deps0
19781978

19791979
external_lib_dep_pkgs = concatMap mapDep external_lib_dep_sids
1980-
1981-
-- Combine library and build-tool dependencies, for backwards
1982-
-- compatibility (See issue #5412 and the documentation for
1983-
-- InstallPlan.fromSolverInstallPlan), but prefer the versions
1984-
-- specified as build-tools.
19851980
external_exe_dep_pkgs =
19861981
concatMap mapDep $
19871982
ordNubBy (pkgName . packageId) $
1988-
external_exe_dep_sids ++ external_lib_dep_sids
1983+
external_exe_dep_sids
19891984

19901985
external_exe_map =
19911986
Map.fromList $

0 commit comments

Comments
 (0)