From cab6b019b17881f42f618dcc9fce9341f1a6df81 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 2 Apr 2020 00:53:54 +0200 Subject: [PATCH] Revert "make-options-doc: fix string context issues" This reverts commit 3c15d578d4271142d7e596b9dc708cf07da48fa8. See https://github.com/NixOS/nixpkgs/issues/83863 --- nixos/lib/make-options-doc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/lib/make-options-doc/default.nix b/nixos/lib/make-options-doc/default.nix index e5813d9a3ef..772b7d3add9 100644 --- a/nixos/lib/make-options-doc/default.nix +++ b/nixos/lib/make-options-doc/default.nix @@ -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);