diff --git a/zynq.nix b/zynq.nix index 850e049..ea1832d 100644 --- a/zynq.nix +++ b/zynq.nix @@ -2,6 +2,7 @@ let pkgs = import {}; zc706 = import { mozillaOverlay = import ; }; artiq-zynq = import { mozillaOverlay = import ; }; + artiq-fast = import { inherit pkgs; }; addBuildProducts = drv: drv.overrideAttrs (oldAttrs: { installPhase = '' ${oldAttrs.installPhase} @@ -28,7 +29,7 @@ in __networked = true; buildInputs = [ - pkgs.openssh pkgs.rsync + pkgs.openssh pkgs.rsync artiq-fast.artiq ]; phases = [ "buildPhase" ]; @@ -37,6 +38,11 @@ in cd ${} bash ${}/remote_run.sh -h rpi-4 -o "-F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -i /opt/hydra_id_rsa" -d ${artiq-zynq.zc706-simple-jtag} + sleep 15 + + cd examples + artiq_run mandelbrot.py + touch $out ''; });