Skip to content

Commit

Permalink
Revert "buildRustPackage: fix deprecated use of registry.index config…
Browse files Browse the repository at this point in the history
… key"

This reverts commit e8aa8cc.

(cherry picked from commit 095cf1b)
  • Loading branch information
anderspapitto authored and globin committed Mar 2, 2017
1 parent 1b9e238 commit ac396e9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/build-support/rust/fetch-cargo-deps
Expand Up @@ -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
Expand Down

0 comments on commit ac396e9

Please sign in to comment.