From 8a7fa8941e159f4629cc4985e4cc40b2511e9574 Mon Sep 17 00:00:00 2001 From: Gershom Bazerman Date: Thu, 10 Feb 2022 20:48:53 -0500 Subject: [PATCH] Use the cli flags in fetching packages in building a project config (to use the http transport flag) --- cabal-install/src/Distribution/Client/ProjectPlanning.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal-install/src/Distribution/Client/ProjectPlanning.hs b/cabal-install/src/Distribution/Client/ProjectPlanning.hs index 744ab9fdf85..dd3740d0b72 100644 --- a/cabal-install/src/Distribution/Client/ProjectPlanning.hs +++ b/cabal-install/src/Distribution/Client/ProjectPlanning.hs @@ -326,7 +326,7 @@ rebuildProjectConfig verbosity $ do liftIO $ info verbosity "Project settings changed, reconfiguring..." projectConfig <- phaseReadProjectConfig - localPackages <- phaseReadLocalPackages projectConfig + localPackages <- phaseReadLocalPackages (projectConfig <> cliConfig) return (projectConfig, localPackages) info verbosity