Fix nar info parsing

This commit is contained in:
John Ericson 2020-06-29 19:58:31 +00:00
parent 70ed47c1cb
commit 6683406843

View file

@ -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")