Skip to content

Commit b86371c

Browse files
SyndamiaPetarKirov
authored andcommitted
feat(pkgs/sp1): Replace sp1-rust toolchain to their toolchain specification
1 parent 211599c commit b86371c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/sp1/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ let
2626
};
2727
};
2828

29-
rust-toolchain = sp1-rust;
29+
rust-toolchain = rust-bin.fromRustupToolchainFile (fetchGitHubFile {
30+
inherit (commonArgs.src) owner repo rev;
31+
file = "rust-toolchain";
32+
hash = "sha256-AHwqAJB2brSXfzVVrQoFknsfoid2unlwGKvqdpsdOmk=";
33+
});
3034
craneLib = craneLib-nightly.overrideToolchain rust-toolchain;
3135
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
3236
in

0 commit comments

Comments
 (0)