forked from M-Labs/nix-scripts
sinara-systems: only build device database template automatically for standalone variants
This commit is contained in:
parent
b3c5e2dc2b
commit
1fbb45a2cb
@ -42,6 +42,8 @@ let
|
|||||||
boardBinaries = boardBinaries;
|
boardBinaries = boardBinaries;
|
||||||
inherit target variant;
|
inherit target variant;
|
||||||
};
|
};
|
||||||
|
} // (pkgs.lib.optionalAttrs ((builtins.fromJSON (builtins.readFile json)).base == "standalone")
|
||||||
|
{
|
||||||
"device-db-\''${target}-\''${variant}" = pkgs.stdenv.mkDerivation {
|
"device-db-\''${target}-\''${variant}" = pkgs.stdenv.mkDerivation {
|
||||||
name = "device-db-\''${target}-\''${variant}";
|
name = "device-db-\''${target}-\''${variant}";
|
||||||
buildInputs = [ artiq.artiq ];
|
buildInputs = [ artiq.artiq ];
|
||||||
@ -53,7 +55,7 @@ let
|
|||||||
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
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
}) {} variants;
|
})) {} variants;
|
||||||
in
|
in
|
||||||
generic-kasli // {
|
generic-kasli // {
|
||||||
artiq-board-sayma-satellite = artiq-board {
|
artiq-board-sayma-satellite = artiq-board {
|
||||||
|
Loading…
Reference in New Issue
Block a user