diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2022-06-23 14:24:23 -0400 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2022-06-23 14:25:10 -0400 |
commit | 561a258f1d9fd11a5e111e14c492ee166a7551c1 (patch) | |
tree | cb518a0ef95f236f62b9c1957fe402f5fea7c8d3 /src/libstore/nar-info.cc | |
parent | 3c57db1a0f5438015c19285ec02fd15d9c6cb51f (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.cc | 5 |
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"; |