-
Notifications
You must be signed in to change notification settings - Fork 157
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
Ensure repo is buildable on Windows #4701
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, barring the complaints from cabal format, which can be solved with the suggestions I added.
I can implement that, but just FYI you are using
It formats the cabal file by parsing a GenericPackageDescription and write the I would suggest you to move to |
FYI the command started already as hidden 10 years ago, because it was already considered "not quite ready for general consumption yet" haskell/cabal#1712 |
I'd rather have formatting tool be switched in a separate PR. Which means this PR needs to make the current
I am not a big fan of common stanzas, so this is not really relevant for ledger. However, deprecation of
One would hope that after 10 years that command would be brought to a point that is ready for general consumption 😁 |
See #4704 for a better solution that will be implemented in the future Co-authored-by: teodanciu <[email protected]>
Sure, will update the PR with the changes |
Ah you already did. Thanks @lehins ! |
Yeah, It was easy. All I had to do was just apply the suggestions in the UI 🙂 |
Description
Trying to build any package in the repository on Windows will fail with the following message:
Because cabal will include
plutus-preprocessor
on the build plan andplutus-tx-plugin
is not buildable on Windows, so it will fail to synthesize a build plan.This PR marks
plutus-preprocessor
as unbuildable on Windows, which removes it from the build targets considered by cabal.Checklist
CHANGELOG.md
for the affected packages.New section is never added with the code changes. (See RELEASING.md)
.cabal
andCHANGELOG.md
files according to theversioning process.
.cabal
files for all affected packages are updated.If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
fourmolu
(usescripts/fourmolize.sh
)scripts/cabal-format.sh
)hie.yaml
has been updated (usescripts/gen-hie.sh
)