From 2f49250b8da31fc79ac198504ed3dd1404297a4d Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 11 Nov 2007 09:30:01 +0000 Subject: [PATCH] Now nearly builds docbook section on options; skips names however. svn path=/nixos/trunk/; revision=9627 --- doc/manual/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/Makefile b/doc/manual/Makefile index cd9a00e074bf..3ac2d0dcd4d3 100644 --- a/doc/manual/Makefile +++ b/doc/manual/Makefile @@ -18,5 +18,5 @@ options-db.xml: options.xml options-to-docbook.xsl xsltproc -o options-db.xml options-to-docbook.xsl options.xml options.xml: ../../system/options.nix - echo 'let pkgs = import ../../pkgs/top-level/all-packages.nix {}; in pkgs.lib.optionAttrSetToDocList (import ../../system/options.nix rec {pkgs = pkgs {}; mkOption = pkgs.lib.mkOption; })' | \ + echo '((pkgs:(pkgs.lib.optionAttrSetToDocList "" (import ../../system/options.nix {pkgs = pkgs; mkOption = pkgs.lib.mkOption; }))) (import ../../pkgs/top-level/all-packages.nix {}))' | \ nix-instantiate --eval-only --xml --strict - > options.xml || (rm options.xml && false)