1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Now nearly builds docbook section on options; skips names however.

svn path=/nixos/trunk/; revision=9627
This commit is contained in:
Michael Raskin 2007-11-11 09:30:01 +00:00
parent 8a887b6a94
commit 2f49250b8d

View file

@ -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)