Revert "buildRustPackage: fix deprecated use of registry.index config key"
This reverts commit e8aa8cc94be45103fcd32b5f0bfee4a55eae4080.
This commit is contained in:
parent
306eb6ded0
commit
095cf1b903
@ -11,11 +11,8 @@ fetchCargoDeps() {
|
|||||||
echo "Using rust registry from $rustRegistry"
|
echo "Using rust registry from $rustRegistry"
|
||||||
|
|
||||||
cat <<EOF > $out/config
|
cat <<EOF > $out/config
|
||||||
[source.nix-store-rust-registry]
|
[registry]
|
||||||
registry = "file://$rustRegistry"
|
index = "file://$rustRegistry"
|
||||||
|
|
||||||
[source.crates-io]
|
|
||||||
replace-with = "nix-store-rust-registry"
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
export CARGO_HOME=$out
|
export CARGO_HOME=$out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user