Skip to content

Support Cabal 3.0 #9

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

Merged
merged 3 commits into from
Aug 19, 2021
Merged

Conversation

noughtmare
Copy link

@noughtmare noughtmare commented Aug 18, 2021

For now, I have commented out the sdist hook. I think most of its functionality should be replaced by having users manually list modules in the new autogen-modules field. Maybe this can be automated in some way?

I have also added some files to the extra-source-files field. Now cabal v2-install works as expected.

@noughtmare
Copy link
Author

noughtmare commented Aug 18, 2021

I have now also changed the version mechanism such that it uses the autogenerated Paths_shuffle module, see the documentation here: https://cabal.readthedocs.io/en/3.4/cabal-package.html#accessing-the-package-version

Copy link
Member

@atzedijkstra atzedijkstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accepted without further verifying

@atzedijkstra atzedijkstra merged commit e7a05cb into UU-ComputerScience:master Aug 19, 2021
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.

2 participants