mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Fix flake update check
This commit is contained in:
parent
68e0ca608f
commit
88b44b1e94
5 changed files with 23 additions and 3 deletions
|
@ -280,11 +280,13 @@ static std::string diffLockFiles(const LockedInputs & oldLocks, const LockedInpu
|
|||
res += fmt(" removed '%s'\n", concatStringsSep("/", i->first));
|
||||
++i;
|
||||
} else {
|
||||
if (!(i->second->ref == j->second->ref))
|
||||
if (!(i->second->ref == j->second->ref)) {
|
||||
assert(i->second->ref.to_string() != j->second->ref.to_string());
|
||||
res += fmt(" updated '%s': '%s' -> '%s'\n",
|
||||
concatStringsSep("/", i->first),
|
||||
i->second->ref,
|
||||
j->second->ref);
|
||||
}
|
||||
++i;
|
||||
++j;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue