mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Revert "buildRustPackage: fix deprecated use of registry.index config key"
This reverts commit e8aa8cc94b
.
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