Closed andreasabel closed 2 years ago
So nightly
got the setting exactly wrong:
Yeah, I'm inclined to believe that this is an issue with build-constraints.yaml
in the upstream stackage
repo. It's unclear to me why stack
requires hard-coding the values of cabal
flags in this way, but given stack
's current combination of mintty
and Win32
libraries, Win32-2-13-1
should definitely be false
.
Should I file a PR against stackage
, or would you be willing to do so?
I'll do; already at it!
With stack
resolver: nightly-2021-11-12
I encountered the following problem (stack 2.7.3 on Windows 10):Is this maybe the same problem with
stack
not handling automatic flags correctly as experienced in https://github.com/haskell-hvr/regex-posix/issues/7#issuecomment-783131496 ?stack
does not turnWin32-2-13-1
off automatically ifWin32
is fixed to2.10.*
, rather it simply ignores the bound>= 2.13.1
. This leads then to a build failure.nightly-2021-11-12
should definitely include the settingThe latter is actually a workaround; adding this to the
.yaml
file letsmintty
compilation succeed.