Skip to content

Commit 9a7c6e1

Browse files
figsodaerictapen
authored andcommitted
rustPlatform.fetchCargoTarball: remove explicit sparse protocol
sparse protocol is now the default since rust 1.70 (cherry picked from commit f4a6750)
1 parent 6faa042 commit 9a7c6e1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkgs/build-support/rust/fetch-cargo-tarball/default.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ in stdenv.mkDerivation ({
6363
export CARGO_HOME=$(mktemp -d cargo-home.XXX)
6464
CARGO_CONFIG=$(mktemp cargo-config.XXXX)
6565
66-
# https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol
67-
# planned to become the default in 1.70
68-
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
69-
7066
if [[ -n "$NIX_CRATES_INDEX" ]]; then
7167
cat >$CARGO_HOME/config.toml <<EOF
7268
[source.crates-io]

0 commit comments

Comments
 (0)