artiq-full: pass rustPlatform to artiq-board

This commit is contained in:
Sebastien Bourdeauducq 2021-09-12 19:00:37 +08:00
parent 70086fbfe0
commit 65e9f77019

View File

@ -74,7 +74,7 @@ let
HASH=`nix-hash --type sha256 --base32 $SINARA_SRC_CLEAN`
''}
cat > $out/default.nix << EOF
{ pkgs ? import <nixpkgs> {}}:
{ pkgs ? import <nixpkgs> { overlays = [ (import ./fast/mozilla-overlay.nix) ]; }}:
let
artiq-fast = import ${if use-generated then "./board-generated" else "."}/fast { inherit pkgs; };
@ -107,6 +107,7 @@ let
else ''
import ./fast/artiq-board.nix {
inherit pkgs vivado;
rustPlatform = import ./fast/rust-platform.nix { inherit pkgs; };
}
''};
conda-artiq-board = import ./conda-artiq-board.nix { inherit pkgs; };