-
Notifications
You must be signed in to change notification settings - Fork 85
hashable 1.4.6.0 build failure #310
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
Comments
According to https://stackoverflow.com/a/72597669 |
make sense, looks like only happens for monterey-arm build. |
Why is this flag on by default if it:
|
We are just releasing cabal 3.12.1.0. How do we prevent this happening to users of our binaries? |
@phadej Hi, may I ask you if you could perhaps do a release of |
Relating to #308 |
Ok, so if you care about performance of your application, you will profile your application, and enable the flag in the future. I'll turn it off. For the record, on my machine you lose 20% of hash performance, which for hash intensive things will matter. (And if your application is not hash intensive, don't use
|
I think it may also be a good idea to mark the affected versions of hashable as deprecated on hackage to prevent them from being inadvertently pulled into any build plans in the future. |
This is common misconception. Deprecating on the Hackage is only a soft constraint. |
You can change the base dependency to |
@hasufell I know, but that is not marking as deprecated it's making a package version uninstallable with an unsatisfiable constraint trick |
Correct. As Zubin pointed out the motivation is:
This can be achieved with said trick. |
Thanks for the fix, now the issue is gone for homebrew builds. 🙏 |
Remote cabal.project files could also be used to create a set of constraints that try to achieve maximum performance ( This constraint set could then be maintained centrally and also serve as documentation. |
👋 while trying to update some brew formulae, ormolu and fourmolu, seeing some build failures as below:
The text was updated successfully, but these errors were encountered: