fix version number in docs
This commit is contained in:
parent
f21eb0c6d6
commit
b20dff099f
3
main.nix
3
main.nix
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue