Skip to content

Commit

Permalink
cabal update: use sandbox config file haskell#1884
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg authored and 23Skidoo committed Nov 15, 2014
1 parent f54e7f9 commit 6f6c5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 6f6c5b6

Please sign in to comment.