zynq: try to work around hydra restricted mode problems

This commit is contained in:
Sebastien Bourdeauducq 2020-09-09 19:19:10 +08:00
parent 532dd5c861
commit 58c9c6f83c
1 changed files with 4 additions and 3 deletions

View File

@ -2,8 +2,6 @@ let
pkgs = import <nixpkgs> {};
zynq-rs-latest = import <zynq-rs>;
artiq-zynq = import <artiq-zynq>;
zynq-rs = import "${<artiq-zynq>}/zynq-rs.nix";
zc706-szl = (import zynq-rs).zc706-szl;
artiq-fast = import <artiq-fast> { 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 "${<artiq-zynq>}/zynq-rs.nix";
zc706-szl = (import zynq-rs).zc706-szl;
in pkgs.stdenv.mkDerivation {
name = "zc706-hitl-tests";
# requires patched Nix