I believe this is a regression, since it seemed to work properly before. See #505. Both of the following should work, but currently only the latter does. This may be an issue in optparse-simple:
stack build --resolver lts-2.16
stack --resolver lts-2.16 build
Assigning to @manny-fp, but pinging @chrisdone who may have a quick answer.