From 75f8651d44a92e9da855e0386dc7278b499cb3d8 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sun, 20 Apr 2014 14:50:12 +0200 Subject: [PATCH] Enable '--reorder-goals' by default. Fixes #1780. --- cabal-install/Distribution/Client/Setup.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cabal-install/Distribution/Client/Setup.hs b/cabal-install/Distribution/Client/Setup.hs index 8a633204dc1..13005acb734 100644 --- a/cabal-install/Distribution/Client/Setup.hs +++ b/cabal-install/Distribution/Client/Setup.hs @@ -494,7 +494,7 @@ defaultFetchFlags = FetchFlags { fetchDryRun = toFlag False, fetchSolver = Flag defaultSolver, fetchMaxBackjumps = Flag defaultMaxBackjumps, - fetchReorderGoals = Flag False, + fetchReorderGoals = Flag True, fetchIndependentGoals = Flag False, fetchShadowPkgs = Flag False, fetchVerbosity = toFlag normal @@ -560,7 +560,7 @@ defaultFreezeFlags = FreezeFlags { freezeDryRun = toFlag False, freezeSolver = Flag defaultSolver, freezeMaxBackjumps = Flag defaultMaxBackjumps, - freezeReorderGoals = Flag False, + freezeReorderGoals = Flag True, freezeIndependentGoals = Flag False, freezeShadowPkgs = Flag False, freezeVerbosity = toFlag normal @@ -944,7 +944,7 @@ defaultInstallFlags = InstallFlags { installHaddockIndex = Flag docIndexFile, installDryRun = Flag False, installMaxBackjumps = Flag defaultMaxBackjumps, - installReorderGoals = Flag False, + installReorderGoals = Flag True, installIndependentGoals= Flag False, installShadowPkgs = Flag False, installReinstall = Flag False,