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

This reverts commit e8aa8cc94b.
This commit is contained in:
Anders Papitto 2017-03-01 11:06:05 -08:00 committed by Robin Gloster
parent 306eb6ded0
commit 095cf1b903

View file

@ -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