Why does stack --resolver xyz build
still take the extra-deps in the stack.yaml into account?
#2238
Labels
stack --resolver xyz build
still take the extra-deps in the stack.yaml into account?
#2238
(This uses the dependency error pretty printing from #2236 for clarity)
Compare the dependency errors for the following two invocations:
In the first run, the dependency solver took the extra-deps from the
stack.yaml
–store-0.1.0.1
among others – into account.In this case, this defeats my intention, which is to try to build the project using exactly the package versions defined in lts-2.22.
While the current behavior could be called consistent, I think it's surprising enough that it should be changed.
The text was updated successfully, but these errors were encountered: