Skip to content

Fix the build - #45

Open
JonnyRa wants to merge 2 commits into
SimulaVR:masterfrom
JonnyRa:fix-build
Open

Fix the build#45
JonnyRa wants to merge 2 commits into
SimulaVR:masterfrom
JonnyRa:fix-build

Conversation

@JonnyRa

@JonnyRa JonnyRa commented Jul 23, 2026

Copy link
Copy Markdown

See discussion in https://discord.com/channels/603723949586644997/901706587566120970/threads/1515815836345176295
I can't make an issue in the repo as I don't have permissions but if you pull the repository from fresh it doesn't build with the error message (coming from c2hs)

godot-haskell> c2hs: C header contains errors:
godot-haskell> 
godot-haskell> .stack-work/dist/x86_64-linux-tinfo6/ghc-8.6.4/build/Godot/Gdnative/Internal/Gdnative.i:1: (column 1) [ERROR]  >>> Lexical error !
godot-haskell>   The character '#' does not fit here.

setting extra-deps in stack.yaml for newer versions of c2hs and it's underlying parser (language c) to newer versions fixes the build error.

The only other changes in the branch are automatic ones to the stack.yaml.lock and by hpack to remake cabal files. In general cabal files don't need to be committed these days, although of course you may have reasons so I included the updated ones in a separate commit.

Cheers

Jonny

JonnyRa added 2 commits July 23, 2026 14:16
…s step was erroring with

```
godot-haskell> c2hs: C header contains errors:
godot-haskell>
godot-haskell> .stack-work/dist/x86_64-linux-tinfo6/ghc-8.6.4/build/Godot/Gdnative/Internal/Gdnative.i:1: (column 1) [ERROR]  >>> Lexical error !
godot-haskell>   The character '#' does not fit 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

Successfully merging this pull request may close these issues.

1 participant