For my test suite, I run things like hlint through stack init then stack build. At the moment, haskell-src-exts is not correct in the latest lts, so stack init fails. I would like to do:
stack init --resolver "haskell-src-exts-1.17.0"
Whether resolver takes package names, or I use --extra haskell-src-exts-1.17.0 doesn't matter, but it would be nice to init with explicit constraints for when stack otherwise fails.
For my test suite, I run things like hlint through
stack initthenstack build. At the moment, haskell-src-exts is not correct in the latest lts, so stack init fails. I would like to do:Whether resolver takes package names, or I use
--extra haskell-src-exts-1.17.0doesn't matter, but it would be nice toinitwith explicit constraints for when stack otherwise fails.