Skip to content

Commit

Permalink
fixup! readGlobalConfig: Also consider cabal.config files in project …
Browse files Browse the repository at this point in the history
…root
  • Loading branch information
ttuegel committed Nov 15, 2017
1 parent 8b3bccd commit 48c22a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/Distribution/Client/CmdInstall.hs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ establishDummyProjectBaseContext verbosity cliConfig tmpDir localPackages = do
createDirectoryIfMissingVerbose verbosity True $ distProjectCacheDirectory distDirLayout

globalConfig <- runRebuild ""
$ readGlobalConfig verbosity
$ readGlobalConfig verbosity distDirLayout
$ projectConfigConfigFile
$ projectConfigShared cliConfig
let projectConfig = globalConfig <> cliConfig
Expand Down

0 comments on commit 48c22a8

Please sign in to comment.