fix version number in docs

This commit is contained in:
Sebastien Bourdeauducq 2019-02-19 15:28:45 +08:00
parent f21eb0c6d6
commit b20dff099f

View File

@ -19,6 +19,7 @@ let
''; '';
artiqpkgs = import "${generatedNix}/default.nix" { inherit pkgs; }; artiqpkgs = import "${generatedNix}/default.nix" { inherit pkgs; };
python3pkgs = pkgs.callPackage "${generatedNix}/pkgs/python3Packages.nix" {}; python3pkgs = pkgs.callPackage "${generatedNix}/pkgs/python3Packages.nix" {};
artiqVersion = import "${generatedNix}/pkgs/artiq-version.nix";
jobs = builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) artiqpkgs; jobs = builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) artiqpkgs;
in in
jobs // { jobs // {
@ -36,7 +37,7 @@ in
} }
'' ''
mkdir $out mkdir $out
HOME=`mktemp -d` sphinx-build ${artiqSrc}/doc/manual $out/html VERSIONEER_OVERRIDE=${artiqVersion} HOME=`mktemp -d` sphinx-build ${artiqSrc}/doc/manual $out/html
mkdir $out/nix-support mkdir $out/nix-support
echo doc manual $out/html >> $out/nix-support/hydra-build-products echo doc manual $out/html >> $out/nix-support/hydra-build-products
''; '';