Revert "make-options-doc: fix string context issues"
This reverts commit 3c15d578d4
.
See https://github.com/NixOS/nixpkgs/issues/83863
This commit is contained in:
parent
b0a65d5953
commit
cab6b019b1
|
@ -86,7 +86,7 @@ let
|
|||
optionsList = lib.sort optionLess optionsListDesc;
|
||||
|
||||
# Convert the list of options into an XML file.
|
||||
optionsXML = pkgs.writeText "options.xml" (builtins.toXML optionsList);
|
||||
optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);
|
||||
|
||||
optionsNix = builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList);
|
||||
|
||||
|
|
Loading…
Reference in a new issue