reintroduce conda-board with new version scheme

This commit is contained in:
Sebastien Bourdeauducq 2019-02-15 00:56:56 +08:00
parent 28876a34dc
commit f35f61b65d
2 changed files with 7 additions and 9 deletions

View File

@ -12,15 +12,13 @@ let
cat << EOF > $out/fake-conda/meta.yaml
package:
name: artiq-board-${target}-${variant}
version: {{ environ["GIT_DESCRIBE_TAG"] }}
version: 5e-{{ environ["GIT_FULL_HASH"][:8] }}
source:
git_url: ..
build:
noarch: python
number: {{ environ["GIT_DESCRIBE_NUMBER"] }}
string: {{ environ["GIT_DESCRIBE_NUMBER"] }}+git{{ environ["GIT_FULL_HASH"][:8] }}
ignore_prefix_files: True
outputs:

View File

@ -31,12 +31,12 @@ let
in
start // {
"artiq-board-${board.target}-${board.variant}" = boardBinaries;
#"conda-artiq-board-${board.target}-${board.variant}" = import "${generatedNix}/conda-board.nix" { inherit pkgs; } {
# artiqSrc = import "${generatedNix}/pkgs/artiq-src.nix" { fetchgit = pkgs.fetchgit; };
# boardBinaries = boardBinaries;
# target = board.target;
# variant = board.variant;
#};
"conda-artiq-board-${board.target}-${board.variant}" = import "${generatedNix}/conda-board.nix" { inherit pkgs; } {
artiqSrc = import "${generatedNix}/pkgs/artiq-src.nix" { fetchgit = pkgs.fetchgit; };
boardBinaries = boardBinaries;
target = board.target;
variant = board.variant;
};
}) {} boards;
jobs = {