forked from M-Labs/nix-scripts
zynq: fix nix store permission problems
This commit is contained in:
parent
7ab53bb9eb
commit
1888638dd5
5
zynq.nix
5
zynq.nix
|
@ -35,14 +35,15 @@ in
|
||||||
|
|
||||||
buildPhase =
|
buildPhase =
|
||||||
''
|
''
|
||||||
cd ${<artiq-zynq>}
|
|
||||||
export USER=hydra
|
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}
|
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
|
sleep 15
|
||||||
|
|
||||||
cd examples
|
cd examples
|
||||||
artiq_run mandelbrot.py
|
artiq_run --device-db ${<artiq-zynq>}/examples/device_db.py ${<artiq-zynq>}/examples/mandelbrot.py
|
||||||
|
|
||||||
touch $out
|
touch $out
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue