From 48c22a8515cae21f264366308e052484b5f8b6d3 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 15 Nov 2017 08:06:52 -0600 Subject: [PATCH] fixup! readGlobalConfig: Also consider cabal.config files in project root --- cabal-install/Distribution/Client/CmdInstall.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal-install/Distribution/Client/CmdInstall.hs b/cabal-install/Distribution/Client/CmdInstall.hs index 197124b4422..36ed427ecab 100644 --- a/cabal-install/Distribution/Client/CmdInstall.hs +++ b/cabal-install/Distribution/Client/CmdInstall.hs @@ -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