1
0
Fork 0

nix: fix cargoSha256 issues

This commit is contained in:
Sebastien Bourdeauducq 2020-10-13 23:42:30 +08:00
parent 5c62d6a141
commit 7f75dbd87e
1 changed files with 3 additions and 3 deletions

View File

@ -10,11 +10,11 @@ let
vivado = import <artiq-fast/vivado.nix> { inherit pkgs; }; vivado = import <artiq-fast/vivado.nix> { inherit pkgs; };
build-zc706 = { variant }: let build-zc706 = { variant }: let
firmware = rustPlatform.buildRustPackage rec { firmware = rustPlatform.buildRustPackage rec {
name = "zc706-${variant}-firmware"; # note: due to fetchCargoTarball, cargoSha256 depends on package name
version = "0.1.0"; name = "zc706-firmware";
src = ./src; src = ./src;
cargoSha256 = "1kkh2fscdy2dz5bfbk36hrk6xd4dizbkfvqfihf15jfr5i94gi4x"; cargoSha256 = "0hjpxqz9ilr4fxi3w3xswn9dcrsh3g2m42vig80xdkpb7wn9gvs0";
nativeBuildInputs = [ nativeBuildInputs = [
pkgs.gnumake pkgs.gnumake