I expected allow-newer in global-project\stack.yaml affects in all path, but it seems not. Is it expected behavior?
Steps to reproduce
Make the C:\sr\global-project\stack.yaml content as the follows.
Run stack install intero-0.1.23 on the path where stack.yaml doesn't exists.
C:\sr\global-project> stack install intero
WARNING: Ignoring out of range dependency (allow-newer enabled): ghc-8.2.2. intero requires: >=7.8 && <8.2.2
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for intero-0.1.23:
ghc-8.2.2 from stack configuration does not match >=7.8 && <8.2.2 (latest matching version
needed since intero is a build target.
Some potential ways to resolve this:
* Recommended action: try adding the following to your extra-deps
* Set 'allow-newer: true' to ignore all version constraints and build anyway.
* You may also want to try using the 'stack solver' command.
Plan construction failed.