forked from M-Labs/artiq
1
0
Fork 0

flake: cleanup

This commit is contained in:
Sebastien Bourdeauducq 2023-01-09 18:22:05 +08:00
parent 070fed755b
commit b9bfe090f4
1 changed files with 1 additions and 2 deletions

View File

@ -436,7 +436,7 @@
hydraJobs = { hydraJobs = {
inherit (packages.x86_64-linux) artiq artiq-board-kc705-nist_clock openocd-bscanspi; inherit (packages.x86_64-linux) artiq artiq-board-kc705-nist_clock openocd-bscanspi;
kc705-hitl = pkgs.stdenv.mkDerivation { kc705-hitl = pkgs.stdenvNoCC.mkDerivation {
name = "kc705-hitl"; name = "kc705-hitl";
__networked = true; # compatibility with old patched Nix __networked = true; # compatibility with old patched Nix
@ -453,7 +453,6 @@
phases = [ "buildPhase" ]; phases = [ "buildPhase" ];
buildPhase = buildPhase =
'' ''
whoami
export HOME=`mktemp -d` export HOME=`mktemp -d`
mkdir $HOME/.ssh mkdir $HOME/.ssh
cp /opt/hydra_id_ed25519 $HOME/.ssh/id_ed25519 cp /opt/hydra_id_ed25519 $HOME/.ssh/id_ed25519