Since stack v2, stack
produces a stack.yaml.lock
file.
Should this file be committed to source control, like stack.yaml
? Or should it be .gitignore
d?
On the one hand it's generated content and isn't source, on the other hand it contains hashes of the dependencies from Hackage so it is necessary for a safe reproducible build..