From d1b5bf909901656b40fcb89a4cf4ab29a570d296 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 14 Mar 2019 14:13:42 +0800 Subject: [PATCH] use sandbox path to get SSH key --- main.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.nix b/main.nix index 825c1e6..97551bf 100644 --- a/main.nix +++ b/main.nix @@ -52,13 +52,12 @@ in artiqpkgs.openocd pkgs.iputils ]; - sshKey = /var/lib/hydra/queue-runner/.ssh/id_rsa; phases = [ "buildPhase" ]; buildPhase = '' export HOME=`mktemp -d` mkdir $HOME/.ssh - cp ${sshKey} $HOME/.ssh/id_rsa + cp /opt/hydra_id_rsa $HOME/.ssh/id_rsa artiq_flash -t kc705 -H rpi sleep 15 # ping: socket: Operation not permitted