1
0
Fork 0

move artiq-extras to artiq-full

This commit is contained in:
Sebastien Bourdeauducq 2019-07-17 20:22:13 +08:00
parent 0507ade49d
commit 11608e139c
2 changed files with 6 additions and 4 deletions

View File

@ -8,6 +8,7 @@ let
mkdir $out
cp -a ${<artiq-fast>} $out/fast
cp ${./artiq-full/extras.nix} $out/extras.nix
REV=`git --git-dir ${sinaraSystemsSrc}/.git rev-parse HEAD`
SINARA_SRC_CLEAN=`mktemp -d`
@ -91,8 +92,9 @@ let
";
};
})) {} variants;
extras = import ./extras.nix { inherit pkgs; inherit (artiq-fast) asyncserial artiq; };
in
artiq-fast // generic-kasli // {
artiq-fast // extras // generic-kasli // {
artiq-board-sayma-satellite = artiq-board {
target = "sayma";
variant = "satellite";

View File

@ -13,7 +13,7 @@ let
inherit version src;
buildInputs = (with pkgs.python3Packages; [ sphinx sphinx_rtd_theme sphinx-argparse ]) ++ [ artiq ];
preBuild = ''
export SOURCE_DATE_EPOCH=${with pkgs; import ./pkgs/artiq-timestamp.nix { inherit stdenv fetchgit git; }}
export SOURCE_DATE_EPOCH=${import ./fast/pkgs/artiq-timestamp.nix { inherit (pkgs) stdenv fetchgit git; }}
cd doc
'';
makeFlags = [ "html" ];
@ -29,9 +29,9 @@ let
echo doc manual ${dest}/html index.html >> $out/nix-support/hydra-build-products
'';
};
"conda-${name}" = import ./conda-build.nix { inherit pkgs; } {
"conda-${name}" = import ./fast/conda-build.nix { inherit pkgs; } {
name = "conda-${name}";
src = import ./conda-fake-source.nix { inherit pkgs; } ({
src = import ./fast/conda-fake-source.nix { inherit pkgs; } ({
inherit name version src;
} // condaOptions);
};