You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
cabal doesn't so much try things, in the sense of try the compile and then try it again on fail. it's just a constraint solver and if you can't describe the constraint directly in the cabal file (as when you need to do configure search for perl5 guts) you can't have it automatically set that flag.
Nevertheless it might be a good idea to detect compilation failure in some way, or at least display a helpful error message so the user knows to try again with "cabal install --flags=-Perl5".