forked from M-Labs/nix-scripts
zynq: use exposed zynq-rs from artiq-zynq
This commit is contained in:
parent
58c9c6f83c
commit
de7c867866
7
zynq.nix
7
zynq.nix
|
@ -2,6 +2,8 @@ let
|
||||||
pkgs = import <nixpkgs> {};
|
pkgs = import <nixpkgs> {};
|
||||||
zynq-rs-latest = import <zynq-rs>;
|
zynq-rs-latest = import <zynq-rs>;
|
||||||
artiq-zynq = import <artiq-zynq>;
|
artiq-zynq = import <artiq-zynq>;
|
||||||
|
zynq-rs = import artiq-zynq.zynq-rs;
|
||||||
|
zc706-szl = (import zynq-rs).zc706-szl;
|
||||||
artiq-fast = import <artiq-fast> { inherit pkgs; };
|
artiq-fast = import <artiq-fast> { inherit pkgs; };
|
||||||
in
|
in
|
||||||
(
|
(
|
||||||
|
@ -21,10 +23,7 @@ in
|
||||||
touch $out
|
touch $out
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
zc706-hitl-tests = pkgs.lib.hydraJob (let
|
zc706-hitl-tests = pkgs.lib.hydraJob (pkgs.stdenv.mkDerivation {
|
||||||
zynq-rs = import "${<artiq-zynq>}/zynq-rs.nix";
|
|
||||||
zc706-szl = (import zynq-rs).zc706-szl;
|
|
||||||
in pkgs.stdenv.mkDerivation {
|
|
||||||
name = "zc706-hitl-tests";
|
name = "zc706-hitl-tests";
|
||||||
|
|
||||||
# requires patched Nix
|
# requires patched Nix
|
||||||
|
|
Loading…
Reference in New Issue