board-generated: fix fetchcargo (2)

This commit is contained in:
Sebastien Bourdeauducq 2021-09-12 19:30:37 +08:00
parent 57cc7a0a33
commit 6416764277
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ let
]);
fetchcargo = import (artiq-fast + "/fetchcargo-legacy.nix") {
inherit (pkgs) stdenv lib cacert git;
inherit (artiqpkgs) cargo cargo-vendor;
cargo = artiqpkgs.cargo-legacy;
cargo-vendor = artiqpkgs.cargo-vendor-legacy;
};
cargoDeps = fetchcargo rec {
name = "artiq-firmware-cargo-deps";