From e24f518a8429f1c1b77070e4d6d0710335c70307 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sat, 11 Apr 2015 14:42:15 +0200 Subject: Fix `\n` in error message --- CabalHelper/Wrapper.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CabalHelper') diff --git a/CabalHelper/Wrapper.hs b/CabalHelper/Wrapper.hs index 1334a9d..43cc2a1 100644 --- a/CabalHelper/Wrapper.hs +++ b/CabalHelper/Wrapper.hs @@ -199,15 +199,15 @@ compileHelper opts cabalVer distdir = withHelperSources $ \chdir -> do errorInstallCabal :: Version -> a errorInstallCabal cabalVer = panic $ printf "\ \Installing Cabal version %s failed.\n\ -\n\ +\\n\ \You have two choices now:\n\ \- Either you install this version of Cabal in your globa/luser package-db\n\ \ somehow\n\ -\n\ +\\n\ \- Or you can see if you can update your cabal-install to use a different\n\ \ version of the Cabal library that we can build with:\n\ \ $ cabal install cabal-install --constraint 'Cabal > %s'\n\ -\n\ +\\n\ \To check the version cabal-install is currently using try:\n\ \ $ cabal --version\n" sver sver where -- cgit v1.2.3