Skip to content

Commit

Permalink
Revert "make-options-doc: fix string context issues"
Browse files Browse the repository at this point in the history
This reverts commit 3c15d57.

See #83863
  • Loading branch information
jtojnar committed Apr 1, 2020
1 parent b0a65d5 commit cab6b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/lib/make-options-doc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cab6b01

Please sign in to comment.