mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
nix profile: Remove check for "name" attribute in manifests
AFAIK, we've never emitted this attribute.
This commit is contained in:
parent
6268a45b65
commit
a748e88bf4
1 changed files with 0 additions and 2 deletions
|
@ -155,8 +155,6 @@ struct ProfileManifest
|
||||||
std::string name =
|
std::string name =
|
||||||
elems.is_object()
|
elems.is_object()
|
||||||
? elem.key()
|
? elem.key()
|
||||||
: e.contains("name")
|
|
||||||
? (std::string) e["name"]
|
|
||||||
: element.source
|
: element.source
|
||||||
? getNameFromURL(parseURL(element.source->to_string())).value_or(element.identifier())
|
? getNameFromURL(parseURL(element.source->to_string())).value_or(element.identifier())
|
||||||
: element.identifier();
|
: element.identifier();
|
||||||
|
|
Loading…
Reference in a new issue