Skip to content

Don't use PackageInfo #31

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 1 commit into from
Aug 7, 2023
Merged

Don't use PackageInfo #31

merged 1 commit into from
Aug 7, 2023

Conversation

edsko
Copy link
Collaborator

@edsko edsko commented Jul 28, 2023

No description provided.

@edsko edsko force-pushed the edsko/avoid-PackageInfo branch from 91ed7e2 to 275ace8 Compare August 7, 2023 07:02
@edsko edsko marked this pull request as ready for review August 7, 2023 07:03
@edsko edsko changed the title Temporary workaround: avoid PackageInfo Don't use PackageInfo Aug 7, 2023
@edsko
Copy link
Collaborator Author

edsko commented Aug 7, 2023

PackageInfo was introduced in cabal 3.10, but package version information has been available since forever in the generated Paths_ module; using this module however can result in some issues with non-reproducability. We don't really care about here so the older Paths_ module is fine, and avoids requiring the latest and greatest cabal.

@edsko edsko merged commit 3836078 into main Aug 7, 2023
@edsko edsko deleted the edsko/avoid-PackageInfo branch August 7, 2023 07:18
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