aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Wrapper.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-04-11 14:42:15 +0200
committerDaniel Gröber <dxld@darkboxed.org>2015-04-11 14:42:15 +0200
commite24f518a8429f1c1b77070e4d6d0710335c70307 (patch)
tree5871cb6198a51e5c0397cd29f801b7e782c93301 /CabalHelper/Wrapper.hs
parentb4f8e009213e88e148da497c66453bc3760cc59c (diff)
Fix `\n` in error message
Diffstat (limited to 'CabalHelper/Wrapper.hs')
-rw-r--r--CabalHelper/Wrapper.hs6
1 files changed, 3 insertions, 3 deletions
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