aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info.cc
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2022-06-23 14:24:23 -0400
committerCole Helbling <cole.e.helbling@outlook.com>2022-06-23 14:25:10 -0400
commit561a258f1d9fd11a5e111e14c492ee166a7551c1 (patch)
treecb518a0ef95f236f62b9c1957fe402f5fea7c8d3 /src/libstore/nar-info.cc
parent3c57db1a0f5438015c19285ec02fd15d9c6cb51f (diff)
libstore/nar-info: drop unused system field
This was unused everywhere (and even the official NixOS binary cache did not produce .narinfo files containing a "System:" field).
Diffstat (limited to 'src/libstore/nar-info.cc')
-rw-r--r--src/libstore/nar-info.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstore/nar-info.cc b/src/libstore/nar-info.cc
index 2d75e7a82..071d8355e 100644
--- a/src/libstore/nar-info.cc
+++ b/src/libstore/nar-info.cc
@@ -69,8 +69,6 @@ NarInfo::NarInfo(const Store & store, const std::string & s, const std::string &
if (value != "unknown-deriver")
deriver = StorePath(value);
}
- else if (name == "System")
- system = value;
else if (name == "Sig")
sigs.insert(value);
else if (name == "CA") {
@@ -106,9 +104,6 @@ std::string NarInfo::to_string(const Store & store) const
if (deriver)
res += "Deriver: " + std::string(deriver->to_string()) + "\n";
- if (!system.empty())
- res += "System: " + system + "\n";
-
for (auto sig : sigs)
res += "Sig: " + sig + "\n";