-
Notifications
You must be signed in to change notification settings - Fork 20
Halcyon checks twice for cabal constraints #61
Comments
You should declare version constraints for your project, which will avoid the need for Halcyon to determine constraints, i.e., the first
In order to declare version constraints, you can either take the list of constraints printed by Halcyon and add them to your project as These two methods are currently equivalent, which isn’t clear from the documentation (mietek/halcyon-website#1), but this is likely to change soon, as the use of |
The second
There are two possible reasons:
If you have any suggestions regarding the documentation, please open a mietek/halcyon-website issue. |
Both |
Thanks for that information. My builds runs just that bit faster. |
Halcyon runs
cabal freeze
twice. The first time is in Determining constraints (with my project it takes 0.86 seconds), and The second time is after "Using existing sandbox directory" (takes the same amount of time).On a related note, I'd like it to have a cache so that it doesn't have to check each time; only when the .cabal file has been changed perhaps? When run on a project that has nothing changed, and is already built, this would take a 2.7 second build down to 0.95 seconds.
The text was updated successfully, but these errors were encountered: