diff options
author | figsoda <figsoda@pm.me> | 2023-06-02 21:28:57 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-06-02 21:28:57 -0400 |
commit | f4a67500798a93200144ce7c4bf8471458b9958c (patch) | |
tree | 8eae5ef112e980adb309bdab11215cf664172791 /pkgs/build-support/rust/fetch-cargo-tarball | |
parent | ff16966860a59e8b8db805bf57d41f4deabdc395 (diff) | |
download | nixpkgs-f4a67500798a93200144ce7c4bf8471458b9958c.tar nixpkgs-f4a67500798a93200144ce7c4bf8471458b9958c.tar.gz nixpkgs-f4a67500798a93200144ce7c4bf8471458b9958c.tar.bz2 nixpkgs-f4a67500798a93200144ce7c4bf8471458b9958c.tar.lz nixpkgs-f4a67500798a93200144ce7c4bf8471458b9958c.tar.xz nixpkgs-f4a67500798a93200144ce7c4bf8471458b9958c.tar.zst nixpkgs-f4a67500798a93200144ce7c4bf8471458b9958c.zip |
rustPlatform.fetchCargoTarball: remove explicit sparse protocol
sparse protocol is now the default since rust 1.70
Diffstat (limited to 'pkgs/build-support/rust/fetch-cargo-tarball')
-rw-r--r-- | pkgs/build-support/rust/fetch-cargo-tarball/default.nix | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/build-support/rust/fetch-cargo-tarball/default.nix b/pkgs/build-support/rust/fetch-cargo-tarball/default.nix index 8c6a97888c1..adbfe98d810 100644 --- a/pkgs/build-support/rust/fetch-cargo-tarball/default.nix +++ b/pkgs/build-support/rust/fetch-cargo-tarball/default.nix @@ -62,10 +62,6 @@ in stdenv.mkDerivation ({ export CARGO_HOME=$(mktemp -d cargo-home.XXX) CARGO_CONFIG=$(mktemp cargo-config.XXXX) - # https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol - # planned to become the default in 1.70 - export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse - if [[ -n "$NIX_CRATES_INDEX" ]]; then cat >$CARGO_HOME/config.toml <<EOF [source.crates-io] |