You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stack doesn't create stack.yaml.lock file when --resolver option is used.
For example, the command stack clean (with stack.yaml file in the working directory) creates stack.yaml.lock file. stack --resolver lts-16.11 clean doesn't create stack.yaml.lock file.
Is this an expected behavior?
The text was updated successfully, but these errors were encountered:
@debug-ito, thanks for asking. The short answer is: Yes.
When you override the resolver (--resolver option) the default lock file behaviour is set to 'read only'. That happens in Stack.Options.GlobalParser.globalOptsFromMonoid (extract):
I use stack 2.5.1 on Linux.
stack doesn't create stack.yaml.lock file when
--resolver
option is used.For example, the command
stack clean
(with stack.yaml file in the working directory) creates stack.yaml.lock file.stack --resolver lts-16.11 clean
doesn't create stack.yaml.lock file.Is this an expected behavior?
The text was updated successfully, but these errors were encountered: