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

Invalid syntax for cabal.project.local in README #293

Closed
reidrac opened this issue May 18, 2023 · 1 comment
Closed

Invalid syntax for cabal.project.local in README #293

reidrac opened this issue May 18, 2023 · 1 comment

Comments

@reidrac
Copy link

reidrac commented May 18, 2023

extra-include-dirs: /path/to/sdl2/include
extra-lib-dirs: /path/to/sdl2/lib
package sdl2:
  flags: -pkgconfig

The semicolon in the package name is not correct.

Error: cabal: Error parsing project local configuration file
/home/reidrac/src/haskell/game/cabal.project.local:3:
Parse of field '
unexpected ":"
expecting section parameter, "{", field or section name or end of file'
failed.

Also, disabling the pkgconfig flag doesn't seem to work; but this report is mostly for the syntax of the file. Thanks!

@dpwiz
Copy link
Member

dpwiz commented May 19, 2023

Thanks!

@dpwiz dpwiz closed this as completed May 19, 2023
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