aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-29 19:58:31 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-29 19:59:26 +0000
commit66834068432d316ee558717765851835ceec2dcc (patch)
treef08f7de64f2d825ccaaf3289d63882a470fd839d /src/libstore/nar-info.cc
parent70ed47c1cb9d04a5a350cac664921a194d93d329 (diff)
Fix nar info parsing
Diffstat (limited to 'src/libstore/nar-info.cc')
-rw-r--r--src/libstore/nar-info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/nar-info.cc b/src/libstore/nar-info.cc
index ef04bc859..0796de466 100644
--- a/src/libstore/nar-info.cc
+++ b/src/libstore/nar-info.cc
@@ -57,7 +57,7 @@ NarInfo::NarInfo(const Store & store, const std::string & s, const std::string &
auto refs = tokenizeString<Strings>(value, " ");
if (!references.empty()) corrupt();
for (auto & r : refs)
- references.insert(StorePath(r));
+ insertReferencePossiblyToSelf(StorePath(r));
}
else if (name == "Deriver") {
if (value != "unknown-deriver")