flake-compat icon indicating copy to clipboard operation
flake-compat copied to clipboard

Updating input ref doesn't invalidate lockfile

Open andir opened this issue 5 years ago • 0 comments

Whenever I update an input in a flake.nix without actually updating the flake.lock the compat expression uses the input as specified in the lockfile. I think for consistency reasons it should fail during eval. Otherwise this might lead to an inconsistent state as users might forget to update the lockfile while the build succeeds.

andir avatar Oct 01 '20 20:10 andir