artiq-full: let drtio-ddbs depend on one json file instead of full sinara-systems

This commit is contained in:
Astro 2021-02-02 03:57:38 +01:00 committed by Gitea
parent b0e041c716
commit 70a0b8f90f
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ let
buildPhase = " buildPhase = "
mkdir \$out mkdir \$out
artiq_ddb_template \ artiq_ddb_template \
\''${pkgs.lib.strings.concatStringsSep " " (pkgs.lib.attrsets.mapAttrsToList (dest: desc: "-s " + dest + " " + src + "/" + desc + ".json") crates.satellites) } \ \''${pkgs.lib.strings.concatStringsSep " " (pkgs.lib.attrsets.mapAttrsToList (dest: desc: "-s " + dest + " " + (src + "/\''${desc}.json")) crates.satellites) } \
\''${src}/\''${crates.master}.json -o \$out/device_db.py \''${src}/\''${crates.master}.json -o \$out/device_db.py
mkdir \$out/nix-support mkdir \$out/nix-support
echo file device_db_template \$out/device_db.py >> \$out/nix-support/hydra-build-products echo file device_db_template \$out/device_db.py >> \$out/nix-support/hydra-build-products