Skip to content

Commit bc6fbf0

Browse files
committed
remove workaround for build tools listed as build dependencies
1 parent 54767dc commit bc6fbf0

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
@@ -1911,15 +1911,10 @@ elaborateInstallPlan
19111911
external_exe_dep_sids = CD.select (== compSolverName) exe_deps0
19121912

19131913
external_lib_dep_pkgs = concatMap mapDep external_lib_dep_sids
1914-
1915-
-- Combine library and build-tool dependencies, for backwards
1916-
-- compatibility (See issue #5412 and the documentation for
1917-
-- InstallPlan.fromSolverInstallPlan), but prefer the versions
1918-
-- specified as build-tools.
19191914
external_exe_dep_pkgs =
19201915
concatMap mapDep $
19211916
ordNubBy (pkgName . packageId) $
1922-
external_exe_dep_sids ++ external_lib_dep_sids
1917+
external_exe_dep_sids
19231918

19241919
external_exe_map =
19251920
Map.fromList $

0 commit comments

Comments
 (0)