Browse Source

Revert "buildRustPackage: fix deprecated use of registry.index config key"

This reverts commit e8aa8cc94be45103fcd32b5f0bfee4a55eae4080.
nixos-19.03
Anders Papitto 5 years ago committed by Robin Gloster
parent
commit
095cf1b903
  1. 7
      pkgs/build-support/rust/fetch-cargo-deps

7
pkgs/build-support/rust/fetch-cargo-deps

@ -11,11 +11,8 @@ fetchCargoDeps() {
echo "Using rust registry from $rustRegistry"
cat <<EOF > $out/config
[source.nix-store-rust-registry]
registry = "file://$rustRegistry"
[source.crates-io]
replace-with = "nix-store-rust-registry"
[registry]
index = "file://$rustRegistry"
EOF
export CARGO_HOME=$out

Loading…
Cancel
Save