diff options
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r-- | src/libexpr/flake/flake.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index b99e4794a..fa3185d08 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -469,12 +469,15 @@ LockedFlake lockFlake( if (!updatesUsed.count(i)) warn("the flag '--update-input %s' does not match any input", printInputPath(i)); + /* Check 'follows' inputs. */ + newLockFile.check(); + debug("new lock file: %s", newLockFile); /* Check whether we need to / can write the new lock file. */ if (!(newLockFile == oldLockFile)) { - auto diff = diffLockFiles(oldLockFile, newLockFile); + auto diff = LockFile::diff(oldLockFile, newLockFile); if (lockFlags.writeLockFile) { if (auto sourcePath = topRef.input.getSourcePath()) { |