mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
Revert "buildRustPackage: fix deprecated use of registry.index config key"
This reverts commite8aa8cc94b. (cherry picked from commit095cf1b903)
This commit is contained in:
committed by
Robin Gloster
parent
1b9e238057
commit
ac396e9aeb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user