From 58c9c6f83c31a93abb9bce97537633b9bc534e40 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 9 Sep 2020 19:19:10 +0800 Subject: [PATCH] zynq: try to work around hydra restricted mode problems --- zynq.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zynq.nix b/zynq.nix index 9650dff..febdd3f 100644 --- a/zynq.nix +++ b/zynq.nix @@ -2,8 +2,6 @@ let pkgs = import {}; zynq-rs-latest = import ; artiq-zynq = import ; - zynq-rs = import "${}/zynq-rs.nix"; - zc706-szl = (import zynq-rs).zc706-szl; artiq-fast = import { inherit pkgs; }; in ( @@ -23,7 +21,10 @@ in touch $out ''; }); - zc706-hitl-tests = pkgs.lib.hydraJob (pkgs.stdenv.mkDerivation { + zc706-hitl-tests = pkgs.lib.hydraJob (let + zynq-rs = import "${}/zynq-rs.nix"; + zc706-szl = (import zynq-rs).zc706-szl; + in pkgs.stdenv.mkDerivation { name = "zc706-hitl-tests"; # requires patched Nix