From b5cfb8c12060d1132e83ee6eaa459be865ed862d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 Oct 2013 20:06:02 +0200 Subject: [PATCH] Put the manual in the NixOS channel --- nixos/doc/manual/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/default.nix b/nixos/doc/manual/default.nix index 3e075529be8..db3245fcc07 100644 --- a/nixos/doc/manual/default.nix +++ b/nixos/doc/manual/default.nix @@ -79,9 +79,12 @@ in rec { cp ${./style.css} $dst/style.css - ensureDir $out/nix-support + mkdir -p $out/nix-support + echo "nix-build out $out" >> $out/nix-support/hydra-build-products echo "doc manual $dst manual.html" >> $out/nix-support/hydra-build-products ''; # */ + + meta.description = "The NixOS manual in HTML format"; }; # Generate the NixOS manpages. @@ -102,7 +105,7 @@ in rec { ./man-pages.xml # Generate manpages. - ensureDir $out/share/man + mkdir -p $out/share/man xsltproc --nonet --xinclude \ --param man.output.in.separate.dir 1 \ --param man.output.base.dir "'$out/share/man/'" \