mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 06:56:14 +02:00
Backport fix from #3754 branch
This commit is contained in:
parent
71e4c9c505
commit
a9c0ea30bf
1 changed files with 3 additions and 3 deletions
|
@ -36,10 +36,10 @@ struct PathReferences
|
|||
template<typename Ref>
|
||||
StorePathSet PathReferences<Ref>::referencesPossiblyToSelf(const Ref & self) const
|
||||
{
|
||||
StorePathSet references { references };
|
||||
StorePathSet refs { references };
|
||||
if (hasSelfReference)
|
||||
references.insert(self);
|
||||
return references;
|
||||
refs.insert(self);
|
||||
return refs;
|
||||
}
|
||||
|
||||
template<typename Ref>
|
||||
|
|
Loading…
Reference in a new issue