From 095cf1b903a9a3c52c2fdf67afc76d97a0c6af7b Mon Sep 17 00:00:00 2001 From: Anders Papitto Date: Wed, 1 Mar 2017 11:06:05 -0800 Subject: [PATCH] Revert "buildRustPackage: fix deprecated use of registry.index config key" This reverts commit e8aa8cc94be45103fcd32b5f0bfee4a55eae4080. --- pkgs/build-support/rust/fetch-cargo-deps | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/build-support/rust/fetch-cargo-deps b/pkgs/build-support/rust/fetch-cargo-deps index 89b78547b38..54593994990 100755 --- a/pkgs/build-support/rust/fetch-cargo-deps +++ b/pkgs/build-support/rust/fetch-cargo-deps @@ -11,11 +11,8 @@ fetchCargoDeps() { echo "Using rust registry from $rustRegistry" cat < $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