Commit 6f6c5b62 authored by Michael Snoyman's avatar Michael Snoyman Committed by Mikhail Glushenkov
Browse files

cabal update: use sandbox config file #1884

parent f54e7f95
......@@ -861,7 +861,7 @@ updateAction verbosityFlag extraArgs globalFlags = do
unless (null extraArgs) $
die $ "'update' doesn't take any extra arguments: " ++ unwords extraArgs
let verbosity = fromFlag verbosityFlag
config <- loadConfig verbosity (globalConfigFile globalFlags) mempty
(_useSandbox, config) <- loadConfigOrSandboxConfig verbosity globalFlags NoFlag
let globalFlags' = savedGlobalFlags config `mappend` globalFlags
update verbosity (globalRepos globalFlags')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment