Skip to content

Commit

Permalink
Merge pull request #7967 from haskell/gb/use-cli-flags-in-readLocalPa…
Browse files Browse the repository at this point in the history
…ckages

Use the cli flags in fetching packages in building a project config
  • Loading branch information
mergify[bot] authored Mar 14, 2022
2 parents 3b7a2d4 + 8a7fa89 commit 2acf81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/src/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2acf81c

Please sign in to comment.