[commit: packages/Cabal] ghc-head: Better error message. (cherry picked from commit d21a4b2978a679ca6eb4fae63c36d38f258d748b) (bdf1d5f)
git at git.haskell.org
git
Fri Oct 11 20:32:54 UTC 2013
Repository : ssh://git at git.haskell.org/Cabal
On branch : ghc-head
Link : http://git.haskell.org/packages/Cabal.git/commitdiff/bdf1d5fd7aad0c3f5219d1a2df50f1624a1dbec2
>---------------------------------------------------------------
commit bdf1d5fd7aad0c3f5219d1a2df50f1624a1dbec2
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date: Tue Sep 10 23:56:28 2013 +0200
Better error message.
(cherry picked from commit d21a4b2978a679ca6eb4fae63c36d38f258d748b)
>---------------------------------------------------------------
bdf1d5fd7aad0c3f5219d1a2df50f1624a1dbec2
cabal-install/Distribution/Client/Install.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cabal-install/Distribution/Client/Install.hs b/cabal-install/Distribution/Client/Install.hs
index 24068f9..2bbf7d4 100644
--- a/cabal-install/Distribution/Client/Install.hs
+++ b/cabal-install/Distribution/Client/Install.hs
@@ -187,7 +187,7 @@ install verbosity packageDBs repos comp platform conf useSandbox mSandboxPkgInfo
then installFailedInSandbox else [])
-- TODO: use a better error message, remove duplication.
installFailedInSandbox =
- "Note: when using a sandbox, all packages are required to have \
+ "\nNote: when using a sandbox, all packages are required to have \
\consistent dependencies. \
\Try reinstalling/unregistering the offending packages or \
\recreating the sandbox."
More information about the ghc-commits
mailing list