zynq: fix nix store permission problems

This commit is contained in:
Sebastien Bourdeauducq 2020-07-05 00:02:22 +08:00
parent 7ab53bb9eb
commit 1888638dd5
1 changed files with 3 additions and 2 deletions

View File

@ -35,14 +35,15 @@ in
buildPhase =
''
cd ${<artiq-zynq>}
export USER=hydra
pushd ${<artiq-zynq>}
bash ${<artiq-zynq>}/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}
popd
sleep 15
cd examples
artiq_run mandelbrot.py
artiq_run --device-db ${<artiq-zynq>}/examples/device_db.py ${<artiq-zynq>}/examples/mandelbrot.py
touch $out
'';