Skip to content

Commit 235dac1

Browse files
committed
fix(risc0): Remove call to rustup
1 parent c25998f commit 235dac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/risc0/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ in
4747
postPatch = ''
4848
# Replace usages of `Command::new("rustup")` with the correct value
4949
# which should be used
50-
sed -i '82,89d;90ilet path_raw = Some("${rust-toolchain}");' risc0/cargo-risczero/src/toolchain.rs
50+
sed -i '44,46d;82,89d;90ilet path_raw = Some("${rust-toolchain}");' risc0/cargo-risczero/src/toolchain.rs
5151
sed -i '410,417d;663,681d;418ilet rustc = "${rust-toolchain}/bin/rustc";' risc0/build/src/lib.rs
5252
# Fix starter template
5353
sed -i 's|{{ risc0_build }}|path = "'$out'"|' risc0/cargo-risczero/templates/rust-starter/methods/Cargo-toml

0 commit comments

Comments
 (0)