diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-02 09:55:07 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-02 09:55:07 -0500 |
commit | 87ca46263dbf88eb8ee606078738bde348689bc6 (patch) | |
tree | 82cd4c411bdbb865c4609eb968092b5cf4cc3395 /src/libexpr | |
parent | ee9eb83a842eb97d0180fd9d349d30ff27fdb485 (diff) | |
parent | 119ba50eb840d812d7175cdc105d9e38dabb5773 (diff) |
Merge branch 'master' into path-info
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/flake/lockfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/lockfile.cc b/src/libexpr/flake/lockfile.cc index a3ed90e1f..a74e68c9c 100644 --- a/src/libexpr/flake/lockfile.cc +++ b/src/libexpr/flake/lockfile.cc @@ -219,7 +219,7 @@ std::optional<FlakeRef> LockFile::isUnlocked() const visit(root); for (auto & i : nodes) { - if (i == root) continue; + if (i == ref<const Node>(root)) continue; auto node = i.dynamic_pointer_cast<const LockedNode>(); if (node && !node->lockedRef.input.isLocked()) return node->lockedRef; |