From 6b7b68bd8eae94ffe91b2ae17fbf01045244b43b Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 1 Mar 2016 04:10:02 +0100 Subject: manual: Fix evaluation error Since NixOS/nixpkgs@cad8957 there is an additional argument to optionAttrSetToDocList, so we need to pass internal _module arguments to that argument (typically _module.check and _module.typeInference) which are used by the type checker to find errors. On Vuizvui however, we don't build the full manual but only Vuizvui-specific options, so we might want to aim for a different approach in the long term rather than duplicating a lot of the manual generation code. Signed-off-by: aszlig --- release.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release.nix') diff --git a/release.nix b/release.nix index 74cf1149..4a2ad9b5 100644 --- a/release.nix +++ b/release.nix @@ -130,7 +130,7 @@ in with pkgsUpstream.lib; with builtins; { isVuizvui = opt: head (splitString "." opt.name) == "vuizvui"; filterDoc = filter (opt: isVuizvui opt && opt.visible && !opt.internal); - optionsXML = toXML (filterDoc (optionAttrSetToDocList modules.options)); + optionsXML = toXML (filterDoc (optionAttrSetToDocList {} modules.options)); optionsFile = toFile "options.xml" (unsafeDiscardStringContext optionsXML); in pkgsUpstream.stdenv.mkDerivation { name = "vuizvui-options"; -- cgit 1.4.1