@@ -63,8 +63,8 @@ let
6363 stripAnyPrefixes = lib.flip (lib.fold lib.removePrefix) prefixesToStrip;
6464
6565 # Custom "less" that pushes up all the things ending in ".enable*"
66− # and ".package"
67− optionListLess = a: b:
66+ # and ".package*"
67+ optionLess = a: b:
6868 let
6969 ise = lib.hasPrefix "enable";
7070 isp = lib.hasPrefix "package";
@@ -73,7 +73,7 @@ let
7373 in lib.compareLists cmp a.loc b.loc < 0;
7474
7575 # Customly sort option list for the man page.
76− optionsList = lib.sort optionListLess optionsListDesc;
76+ optionsList = lib.sort optionLess optionsListDesc;
7777
7878 # Convert the list of options into an XML file.
7979 optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);