forked from M-Labs/artiq
flake: use importCargoLock
This commit is contained in:
parent
50dbda4f43
commit
69b6426800
|
@ -253,10 +253,11 @@
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "artiq-board-${target}-${variant}";
|
name = "artiq-board-${target}-${variant}";
|
||||||
phases = [ "buildPhase" "checkPhase" "installPhase" ];
|
phases = [ "buildPhase" "checkPhase" "installPhase" ];
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
name = "artiq-firmware-cargo-deps";
|
lockFile = ./artiq/firmware/Cargo.lock;
|
||||||
src = "${self}/artiq/firmware";
|
outputHashes = {
|
||||||
sha256 = "sha256-YyycMsDzR+JRcMZJd6A/CRi2J9nKmaWY/KXUnAQaZ00=";
|
"fringe-1.2.1" = "sha256-m4rzttWXRlwx53LWYpaKuU5AZe4GSkbjHS6oINt5d3Y=";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
(pkgs.python3.withPackages(ps: [ ps.jsonschema migen misoc artiq]))
|
(pkgs.python3.withPackages(ps: [ ps.jsonschema migen misoc artiq]))
|
||||||
|
|
Loading…
Reference in New Issue