Add a job for the manual

This commit is contained in:
Eelco Dolstra 2016-10-10 15:26:18 +02:00
parent 633724cc8a
commit 0b5a7472be

View file

@ -179,6 +179,16 @@ rec {
passthru.perlDeps = perlDeps; passthru.perlDeps = perlDeps;
}); });
manual = pkgs.runCommand "hydra-manual-${version}"
{ build = builtins.storePath /nix/store/pi4dqvk3r5jlnbdb4lic5jff3wzn01qh-hydra-0.1.1234.abcdef;
}
''
mkdir -p $out/share
cp -prvd $build/share/doc $out/share/
mkdir $out/nix-support
echo "doc manual $out/share/doc/hydra" >> $out/nix-support/hydra-build-products
'';
tests.install = genAttrs' (system: tests.install = genAttrs' (system:
with import <nixpkgs/nixos/lib/testing.nix> { inherit system; }; with import <nixpkgs/nixos/lib/testing.nix> { inherit system; };