about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-03-01 04:10:02 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-03-01 04:13:03 +0100
commit6b7b68bd8eae94ffe91b2ae17fbf01045244b43b (patch)
treef4f4a888c6033adbd1b53513afea7c8488ff70ad /release.nix
parentd6d5091e0d4b8d82193f9a90d258591eb8d1212a (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix2
1 files changed, 1 insertions, 1 deletions
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";