ChrisPenner / ChrisPenner/slick
slick fails to build with pandoc-3.8
- Dominant language
- Haskell
- Stars
- 223
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
I am terrible at blogging but note that slick fell out of Stackage Nightly with pandoc-3.8:
See https://github.com/commercialhaskell/stackage/commit/49a1c16b70c84eb7a4ab842b64e0f1c95bcf23e2#commitcomment-165414339
```
Building library for slick-1.3.1.0...
[6 of 7] Compiling Slick.Pandoc ( src/Slick/Pandoc.hs, dist-newstyle/build/aarch64-osx/ghc-9.12.2/slick-1.3.1.0/noopt/build/Slick/Pandoc.o, dist-newstyle/build/aarch64-osx/ghc-9.12.2/slick-1.3.1.0/noopt/build/Slick/Pandoc.dyn_o )
src/Slick/Pandoc.hs:67:9: error: [GHC-22385]
Not in scope: record field ‘writerHighlightStyle’
Suggested fix:
Perhaps use record field of WriterOptions ‘writerHighlightMethod’ (imported from Text.Pandoc)
|
67 | def { writerHighlightStyle = Just tango
| ^^^^^^^^^^^^^^^^^^^^
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in src/Slick/Pandoc.hs at line 67 and reproduce the library build with pandoc-3.8. Compare the referenced WriterOptions fields with the Pandoc API available in that version. Done means slick-1.3.1.0 builds successfully with pandoc-3.8.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100