-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'cabal update' followed by 'cabal install pandoc-include' fails to build #15
Comments
I confirm that in macOS 10.13.6 today, after |
Same on Ubuntu 18.04.2 LTS |
Doesn't work: $ cabal install pandoc-include Resolving dependencies...
Configuring pandoc-include-0.0.1...
Building pandoc-include-0.0.1...
Failed to install pandoc-include-0.0.1
Build log ( /home/nikhil/.cabal/logs/pandoc-include-0.0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-30507/pandoc-include-0.0.1'
Configuring pandoc-include-0.0.1...
Warning: 'hs-source-dirs: src' directory does not exist.
Building pandoc-include-0.0.1...
Preprocessing library pandoc-include-0.0.1...
Preprocessing executable 'pandoc-include' for pandoc-include-0.0.1...
[1 of 1] Compiling Main ( IncludeFilter.hs, dist/build/pandoc-include/pandoc-include-tmp/Main.o )
IncludeFilter.hs:71:53: error:
* Couldn't match type `[Char]' with `Data.Text.Internal.Text'
Expected type: Data.Text.Internal.Text
Actual type: String
* In the second argument of `readMarkdown', namely `content'
In the second argument of `($!)', namely `readMarkdown def content'
In the expression: return $! readMarkdown def content
cabal: Leaving directory '/tmp/cabal-tmp-30507/pandoc-include-0.0.1'
cabal: Error: some packages failed to install:
pandoc-include-0.0.1 failed during the building phase. The exception was:
ExitFailure 1 |
It's a bit heavy-weight, but I do this sort of thing now via the pandocs API and classes, which is a joy but there are quirks. http://hackage.haskell.org/package/readme-lhs is an example. |
Same on Ubuntu 20.10 |
Same here on OSX 11.1
|
cabal install --force-reinstalls pandoc pandoc-include --constraint 'pandoc < 2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried several times over a couple of days to the same effect:
error.txt
macOS 10.14 (18A391)
Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: