Skip to content

Instantly share code, notes, and snippets.

@sajith
Created August 19, 2020 11:02
Show Gist options
  • Save sajith/bb1ed5d1b14ae10236c7ba9344a0af6d to your computer and use it in GitHub Desktop.
Save sajith/bb1ed5d1b14ae10236c7ba9344a0af6d to your computer and use it in GitHub Desktop.
cabal install hakyll error
$ cabal install hakyll --installdir=/tmp/hakyll/
Resolving dependencies...
Build profile: -w ghc-8.10.1 -O1
In order, the following will be built (use -v for more details):
- hakyll-2.1.1 (lib:hakyll) (requires build)
Starting hakyll-2.1.1 (all, legacy fallback)
Building hakyll-2.1.1 (all, legacy fallback)
Failed to build hakyll-2.1.1.
Build log ( /Users/sajith/.cabal/logs/ghc-8.10.1/hkyll-2.1.1-eb5374c9.log ):
Configuring hakyll-2.1.1...
Preprocessing library for hakyll-2.1.1..
Building library for hakyll-2.1.1..
[ 1 of 20] Compiling Paths_hakyll ( dist/build/autogen/Paths_hakyll.hs, dist/build/Paths_hakyll.o, dist/build/Paths_hakyll.dyn_o )
[ 2 of 20] Compiling Text.Hakyll.Context ( src/Text/Hakyll/Context.hs, dist/build/Text/Hakyll/Context.o, dist/build/Text/Hakyll/Context.dyn_o )
[ 3 of 20] Compiling Text.Hakyll.HakyllMonad ( src/Text/Hakyll/HakyllMonad.hs, dist/build/Text/Hakyll/HakyllMonad.o, dist/build/Text/Hakyll/HakyllMonad.dyn_o )
src/Text/Hakyll/HakyllMonad.hs:13:21: error:
Module ‘Text.Pandoc’ does not export ‘ParserState’
|
13 | import Text.Pandoc (ParserState, WriterOptions)
| ^^^^^^^^^^^
cabal: Failed to build hakyll-2.1.1. See the build log above for details.
@juev
Copy link

juev commented Oct 6, 2020

$ ghcup set 8.8.4
$ cinstall hakyll
...
Starting     hakyll-4.13.4.0 (lib)
Building     hakyll-4.13.4.0 (lib)
Installing   hakyll-4.13.4.0 (lib)
Completed    hakyll-4.13.4.0 (lib)
Starting     hakyll-4.13.4.0 (exe:hakyll-init)
Building     hakyll-4.13.4.0 (exe:hakyll-init)
Installing   hakyll-4.13.4.0 (exe:hakyll-init)
Completed    hakyll-4.13.4.0 (exe:hakyll-init)
Copying 'hakyll-init'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment