Revert "buildRustPackage: fix deprecated use of registry.index config key"
This reverts commit e8aa8cc94be45103fcd32b5f0bfee4a55eae4080.
This commit is contained in:
parent
306eb6ded0
commit
095cf1b903
1 changed files with 2 additions and 5 deletions
|
@ -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…
Reference in a new issue