On Alpine Linux, doing
cabal install pandoc-include-code
gives
...
Starting pandoc-include-code-0.3.0 (exe:pandoc-include-code)
Building pandoc-include-code-0.3.0 (exe:pandoc-include-code)
Error: cabal: Failed to build exe:pandoc-include-code from
pandoc-include-code-0.3.0. The build process segfaulted (i.e. SIGSEGV).
I've tried using GHC 9.2.5 and 9.4.4
Raising the verbosity level didn't reveal anything else, but I'm not well versed with Haskell tooling so please let me know how to get more detailed logs.