nix/lib/make-options-doc: remove nix-level sorting

there are no remaining users of sorted option lists except the docbook build,
which sorts its input separately.
This commit is contained in:
pennae
2021-11-18 20:28:52 +01:00
parent c533b01863
commit 9b97a2ea88
2 changed files with 2 additions and 17 deletions

View File

@@ -19,7 +19,6 @@ def sortKey(opt):
for p in opt.findall('attr[@name="loc"]/list/string')
]
# always ensure that the sort order matches the order used in the nix expression!
options.sort(key=sortKey)
doc = ET.Element("expr")