mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
diffLockFiles(): Fix assertion failure
There are some cases where this inequality didn't hold, in particular due to the Input / TreeInfo merge, where we're not always showing narHash.
This commit is contained in:
parent
488ff83e6b
commit
9ef6048d78
1 changed files with 0 additions and 1 deletions
|
@ -243,7 +243,6 @@ std::string diffLockFiles(const LockFile & oldLocks, const LockFile & newLocks)
|
||||||
++i;
|
++i;
|
||||||
} else {
|
} else {
|
||||||
if (!(i->second->lockedRef == j->second->lockedRef)) {
|
if (!(i->second->lockedRef == j->second->lockedRef)) {
|
||||||
assert(i->second->lockedRef.to_string() != j->second->lockedRef.to_string());
|
|
||||||
res += fmt("* Updated '%s': '%s' -> '%s'\n",
|
res += fmt("* Updated '%s': '%s' -> '%s'\n",
|
||||||
concatStringsSep("/", i->first),
|
concatStringsSep("/", i->first),
|
||||||
i->second->lockedRef,
|
i->second->lockedRef,
|
||||||
|
|
Loading…
Reference in a new issue