git.iko.soy/typeable/pandoc
on master help sign in
INSTALL.md: indicate that cabal >= 2.0 is needed.
commit6397aacdaed3f5ca3305a383b8ff6575f5d73e5d authorJohn MacFarlane <jgm@berkeley.edu> dateFri 7 Sep 2018, 09:25 (8 years ago) parentddac743
1 file changed+12−3
INSTALL.md+12−3
INSTALL.md+12−3
@@ -143,13 +143,21 @@ The easiest way to build pandoc from source is to use [stack]:
143143
1441441. Install the [Haskell platform]. This will give you [GHC] and
145145 the [cabal-install] build tool. Note that pandoc requires
146− GHC >= 7.10.
146+ GHC >= 7.10 and cabal >= 2.0.
147147
1481482. Update your package database:
149149
150150 cabal update
151151
152−3. Use `cabal` to install pandoc and its dependencies:
152+3. Check your cabal version with
153+
154+ cabal --version
155+
156+ If you have a version less than 2.0, install the latest with:
157+
158+ cabal install cabal-install
159+
160+4. Use `cabal` to install pandoc and its dependencies:
153161
154162 cabal install pandoc
155163
@@ -162,7 +170,7 @@ The easiest way to build pandoc from source is to use [stack]:
162170
163171 cabal install
164172
165−4. Make sure the `$CABALDIR/bin` directory is in your path. You should
173+5. Make sure the `$CABALDIR/bin` directory is in your path. You should
166174 now be able to run `pandoc`:
167175
168176 pandoc --help
@@ -206,6 +214,7 @@ over the build and installation. Most users should use the
206214quick install, but this information may be of use to packagers.
207215For more details, see the [Cabal User's Guide]. These instructions
208216assume that the pandoc source directory is your working directory.
217+You will need cabal version 2.0 or higher.
209218
2102191. Install dependencies: in addition to the [Haskell platform],
211220 you will need a number of additional libraries. You can install