Skip to content
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

Fails to build with lts-16 #74

Open
dpwiz opened this issue Nov 17, 2020 · 1 comment
Open

Fails to build with lts-16 #74

dpwiz opened this issue Nov 17, 2020 · 1 comment

Comments

@dpwiz
Copy link
Contributor

dpwiz commented Nov 17, 2020

tintin                           > configure (lib + exe)
tintin                           > Configuring tintin-1.10.1...
tintin                           > build (lib + exe)
tintin                           > Preprocessing library for tintin-1.10.1..
tintin                           > Building library for tintin-1.10.1..
tintin                           > [ 1 of 18] Compiling Paths_tintin
tintin                           > 
tintin                           > /home/user/src/os/tintin/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build/autogen/Paths_tintin.hs:15:1: error:
tintin                           >     parse error on input ‘#’
tintin                           >    |
tintin                           > 15 | #if defined(VERSION_base)
tintin                           >    | ^

Anything else I can post to help?

@bsaul
Copy link

bsaul commented Sep 24, 2021

I was able to get around this error by adding the following to package.yaml:

library:
    ... stuff ...
  # Work around compile error
  # See https://github.com/sol/hpack#handling-of-paths_-modules
  when:
  - condition: false
    other-modules: Paths_tintin

I got this from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants