Merge pull request #73966 from d-goldin/nixosoptions_xml_strctx

make-options-doc: fix string context issues
This commit is contained in:
Domen Kožar 2019-11-25 13:20:00 +01:00 committed by GitHub
commit 2c8c19972d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ let
optionsList = lib.sort optionLess optionsListDesc;
# Convert the list of options into an XML file.
optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);
optionsXML = pkgs.writeText "options.xml" (builtins.toXML optionsList);
optionsNix = builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList);