An upstart job to display manual

svn path=/nixos/branches/fix-style/; revision=14158
This commit is contained in:
Nicolas Pierron
2009-02-22 16:06:42 +00:00
parent fc6d48ef63
commit b1eabe2b1b
4 changed files with 95 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
{nixpkgsPath ? ../../../nixpkgs, pkgs ? null}:
{nixpkgsPath ? ../../../nixpkgs, nixpkgs ? null}:
let
pkgs = if pkgs == null then
pkgs = if nixpkgs == null then
import "${nixpkgsPath}/pkgs/top-level/all-packages.nix" {}
else pkgs;
else nixpkgs;
options = builtins.toFile "options.xml" (builtins.unsafeDiscardStringContext
(builtins.toXML (pkgs.lib.optionAttrSetToDocList ""