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:
Jan Tojnar 2020-04-02 00:53:54 +02:00
parent b0a65d5953
commit cab6b019b1
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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);