rules_haskell icon indicating copy to clipboard operation
rules_haskell copied to clipboard

Should stack snapshot pin be invalidated on version change?

Open googleson78 opened this issue 3 years ago • 0 comments

When a stack_snapshot_json is being used, if I change a version of a package in packages, that change is ignored and instead the pinned info is used directly.

Should we perhaps instead try to detect this and ignore the pin? I guess prompting the user to repin would be another solution as well, but I assume the harder part of this is detecting the mismatch.

googleson78 avatar Jul 25 '22 12:07 googleson78